Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpressionCollection.cs / 1 / CodeParameterDeclarationExpressionCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeParameterDeclarationExpressionCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeParameterDeclarationExpressionCollection() { } ////// Initializes a new instance of ///. /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeParameterDeclarationExpression this[int index] { get { return ((CodeParameterDeclarationExpression)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeParameterDeclarationExpression value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeParameterDeclarationExpression[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } ///Copies the elements of an array to the end of the ///. /// public void AddRange(CodeParameterDeclarationExpressionCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } ////// Adds the contents of another ///to the end of the collection. /// /// public bool Contains(CodeParameterDeclarationExpression value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeParameterDeclarationExpression value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeParameterDeclarationExpression value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeParameterDeclarationExpression value) { List.Remove(value); } } }Removes a specific ///from the /// .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Compiler.cs
- SlotInfo.cs
- ToolStripItemClickedEventArgs.cs
- SqlDataSourceQueryEditorForm.cs
- Point3D.cs
- StrokeNodeEnumerator.cs
- _AutoWebProxyScriptHelper.cs
- MULTI_QI.cs
- RestHandler.cs
- EntryPointNotFoundException.cs
- PixelFormats.cs
- Vector.cs
- SafeArchiveContext.cs
- CheckBoxList.cs
- WindowsGraphics.cs
- GenericEnumerator.cs
- QueryOutputWriter.cs
- ConfigurationLocation.cs
- Rfc2898DeriveBytes.cs
- MaterialGroup.cs
- FocusChangedEventArgs.cs
- SoapIgnoreAttribute.cs
- ProfilePropertySettings.cs
- ToolTipAutomationPeer.cs
- WebBrowserHelper.cs
- ThreadStartException.cs
- InputGestureCollection.cs
- _AutoWebProxyScriptHelper.cs
- CaseCqlBlock.cs
- AttachmentCollection.cs
- PageClientProxyGenerator.cs
- XmlSchemaAll.cs
- TypeGeneratedEventArgs.cs
- TemplateXamlTreeBuilder.cs
- WaitHandle.cs
- DesignBinding.cs
- CompModSwitches.cs
- InOutArgumentConverter.cs
- MenuItem.cs
- DrawingGroup.cs
- BamlLocalizableResource.cs
- RotateTransform3D.cs
- SelectionWordBreaker.cs
- DBDataPermissionAttribute.cs
- XmlSerializationWriter.cs
- CompilerResults.cs
- XmlUtf8RawTextWriter.cs
- TrackingProfileManager.cs
- SinglePageViewer.cs
- Graphics.cs
- FixUp.cs
- CheckBoxDesigner.cs
- CqlLexer.cs
- XmlSchemaCollection.cs
- Matrix3DConverter.cs
- XDRSchema.cs
- TextTreeExtractElementUndoUnit.cs
- PermissionSet.cs
- FormsAuthenticationUser.cs
- DataGridViewCheckBoxCell.cs
- SQLDoubleStorage.cs
- ListView.cs
- Win32.cs
- DynamicUpdateCommand.cs
- ProcessModule.cs
- WindowsGrip.cs
- DataStreams.cs
- ResourceDescriptionAttribute.cs
- EdmFunction.cs
- ItemList.cs
- GroupBoxDesigner.cs
- RemoteHelper.cs
- SqlAggregateChecker.cs
- HostExecutionContextManager.cs
- ExpressionBuilderCollection.cs
- Html32TextWriter.cs
- SuppressIldasmAttribute.cs
- HttpStreams.cs
- CharacterBuffer.cs
- CancellationHandler.cs
- UseLicense.cs
- MulticastNotSupportedException.cs
- LocatorPartList.cs
- DnsEndPoint.cs
- TableCellCollection.cs
- EventHandlers.cs
- DragDrop.cs
- Border.cs
- AggregateNode.cs
- ConfigErrorGlyph.cs
- TimeoutValidationAttribute.cs
- PanelStyle.cs
- KeysConverter.cs
- ConfigurationManagerInternalFactory.cs
- RenderOptions.cs
- BamlBinaryWriter.cs
- DependencyObjectType.cs
- PageSettings.cs
- ProcessHost.cs
- OptimisticConcurrencyException.cs