Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //Removes a specific ///from the /// . // 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Removes a specific ///from the /// .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DNS.cs
- SynchronousChannelMergeEnumerator.cs
- MappedMetaModel.cs
- SchemaType.cs
- KeyboardEventArgs.cs
- Transaction.cs
- Control.cs
- GridViewRowCollection.cs
- CodeTypeReferenceCollection.cs
- InvalidPropValue.cs
- WpfKnownMemberInvoker.cs
- AuthenticationService.cs
- DbDataReader.cs
- StringAnimationUsingKeyFrames.cs
- ResourceWriter.cs
- Point.cs
- MediaElement.cs
- InvalidProgramException.cs
- UserPreferenceChangingEventArgs.cs
- DateTimeSerializationSection.cs
- DataListItem.cs
- xsdvalidator.cs
- TextSpan.cs
- PrintDialogDesigner.cs
- TaskFactory.cs
- LabelEditEvent.cs
- PasswordPropertyTextAttribute.cs
- Translator.cs
- NonParentingControl.cs
- XmlWriter.cs
- EntityContainerAssociationSet.cs
- RoleService.cs
- BitmapPalette.cs
- AnnouncementEndpoint.cs
- WebInvokeAttribute.cs
- UdpSocket.cs
- SerialPort.cs
- ByteAnimation.cs
- ClientUtils.cs
- xml.cs
- DataGridToolTip.cs
- DelegateTypeInfo.cs
- TaiwanLunisolarCalendar.cs
- Pen.cs
- ConfigurationManagerInternal.cs
- StickyNote.cs
- StylusPlugInCollection.cs
- EnumMemberAttribute.cs
- GACMembershipCondition.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ReflectEventDescriptor.cs
- SerializationAttributes.cs
- Converter.cs
- BaseComponentEditor.cs
- DataGridViewLinkCell.cs
- CellPartitioner.cs
- SubMenuStyleCollectionEditor.cs
- BindableTemplateBuilder.cs
- SimpleTypeResolver.cs
- UserControl.cs
- TrailingSpaceComparer.cs
- NoClickablePointException.cs
- _emptywebproxy.cs
- BatchParser.cs
- ToolStripLocationCancelEventArgs.cs
- CultureData.cs
- PointLightBase.cs
- TableHeaderCell.cs
- TextServicesCompartment.cs
- SimpleType.cs
- EdgeProfileValidation.cs
- NumericExpr.cs
- ZipArchive.cs
- SerializationStore.cs
- ArithmeticException.cs
- CodeIndexerExpression.cs
- AnchoredBlock.cs
- SrgsElementList.cs
- PackagePartCollection.cs
- RelationalExpressions.cs
- CustomErrorsSection.cs
- Point3D.cs
- CheckBox.cs
- SQLDoubleStorage.cs
- ToolStripMenuItem.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SafeRegistryKey.cs
- Base64Stream.cs
- TableMethodGenerator.cs
- TriggerActionCollection.cs
- EventLogPermissionEntryCollection.cs
- ProjectionNode.cs
- ToolboxItemSnapLineBehavior.cs
- WsdlBuildProvider.cs
- AnnotationDocumentPaginator.cs
- GenericWebPart.cs
- CharUnicodeInfo.cs
- ParameterBuilder.cs
- ConfigPathUtility.cs
- HttpStreamXmlDictionaryReader.cs