Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeCommentStatementCollection.cs / 1 / CodeCommentStatementCollection.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 CodeCommentStatementCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeCommentStatementCollection() { } ////// Initializes a new instance of ///. /// /// public CodeCommentStatementCollection(CodeCommentStatementCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeCommentStatementCollection(CodeCommentStatement[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeCommentStatement this[int index] { get { return ((CodeCommentStatement)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeCommentStatement value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeCommentStatement[] 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(CodeCommentStatementCollection 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(CodeCommentStatement value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeCommentStatement[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeCommentStatement value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeCommentStatement value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeCommentStatement 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 CodeCommentStatementCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeCommentStatementCollection() { } ////// Initializes a new instance of ///. /// /// public CodeCommentStatementCollection(CodeCommentStatementCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeCommentStatementCollection(CodeCommentStatement[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeCommentStatement this[int index] { get { return ((CodeCommentStatement)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeCommentStatement value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeCommentStatement[] 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(CodeCommentStatementCollection 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(CodeCommentStatement value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeCommentStatement[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeCommentStatement value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeCommentStatement value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeCommentStatement 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
- SymLanguageVendor.cs
- BamlMapTable.cs
- UserControlDesigner.cs
- WebPartConnectionsConfigureVerb.cs
- TitleStyle.cs
- ServiceContractAttribute.cs
- HttpCacheParams.cs
- DatatypeImplementation.cs
- Attributes.cs
- ListViewHitTestInfo.cs
- DataGridLinkButton.cs
- CollectionView.cs
- ThreadBehavior.cs
- AQNBuilder.cs
- HostingEnvironment.cs
- ThousandthOfEmRealPoints.cs
- RulePatternOps.cs
- DispatcherFrame.cs
- ButtonRenderer.cs
- MappedMetaModel.cs
- ColorTransformHelper.cs
- AssociationSetMetadata.cs
- DataRow.cs
- XamlParser.cs
- NotFiniteNumberException.cs
- BinaryWriter.cs
- VirtualPathUtility.cs
- UTF32Encoding.cs
- DataRecordObjectView.cs
- KeyFrames.cs
- ZipIOBlockManager.cs
- EndpointAddressMessageFilterTable.cs
- RangeValuePattern.cs
- QuaternionConverter.cs
- ResourceType.cs
- NavigationPropertySingletonExpression.cs
- ResizeBehavior.cs
- InvalidOperationException.cs
- DisposableCollectionWrapper.cs
- DirectionalLight.cs
- DeflateStream.cs
- WindowsListViewScroll.cs
- BindingContext.cs
- RadioButton.cs
- PaperSize.cs
- CharStorage.cs
- FormViewDeletedEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- XmlSchemaGroup.cs
- WeakEventManager.cs
- BatchWriter.cs
- XpsS0ValidatingLoader.cs
- EntryIndex.cs
- Parameter.cs
- RemotingException.cs
- NoClickablePointException.cs
- CompareInfo.cs
- StyleConverter.cs
- LicenseException.cs
- baseshape.cs
- HyperLink.cs
- CompositeDesignerAccessibleObject.cs
- InheritanceContextChangedEventManager.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlAggregates.cs
- FileDialog.cs
- WindowsSlider.cs
- TextLine.cs
- MDIClient.cs
- SHA512Managed.cs
- SystemTcpConnection.cs
- CfgArc.cs
- CodeAttributeDeclaration.cs
- PageParser.cs
- ToolBarPanel.cs
- Util.cs
- DbSourceCommand.cs
- DialogWindow.cs
- RSAPKCS1SignatureFormatter.cs
- XmlReflectionMember.cs
- UrlPropertyAttribute.cs
- SplitContainerDesigner.cs
- _FixedSizeReader.cs
- OutputCacheProfile.cs
- BehaviorEditorPart.cs
- IndexedGlyphRun.cs
- Registry.cs
- CodeVariableReferenceExpression.cs
- SingleTagSectionHandler.cs
- AppDomainProtocolHandler.cs
- Win32Exception.cs
- ReachSerializationUtils.cs
- XmlSchemaCollection.cs
- EmbeddedMailObjectsCollection.cs
- QueryValue.cs
- ExpanderAutomationPeer.cs
- XmlHelper.cs
- MachineSettingsSection.cs
- PointHitTestParameters.cs
- GestureRecognizer.cs