Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCommentStatementCollection.cs / 1305376 / CodeCommentStatementCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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 /// . // // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- DataGridViewUtilities.cs
- ImmutableCommunicationTimeouts.cs
- SafeArrayRankMismatchException.cs
- DataControlLinkButton.cs
- IHttpResponseInternal.cs
- Shape.cs
- ListItemCollection.cs
- SqlDataSourceQueryConverter.cs
- FormatConvertedBitmap.cs
- ColorKeyFrameCollection.cs
- CompilerTypeWithParams.cs
- ManipulationLogic.cs
- RectKeyFrameCollection.cs
- ProfileParameter.cs
- TypeDelegator.cs
- Comparer.cs
- SqlDataSourceCommandEventArgs.cs
- XmlNullResolver.cs
- SplitterDesigner.cs
- TrustManager.cs
- WebPartRestoreVerb.cs
- Stack.cs
- securitymgrsite.cs
- XPathSelectionIterator.cs
- PerspectiveCamera.cs
- FileDialogCustomPlace.cs
- IisTraceListener.cs
- ScrollViewerAutomationPeer.cs
- XmlSchemas.cs
- SqlRecordBuffer.cs
- _IPv4Address.cs
- FileIOPermission.cs
- DesignTimeVisibleAttribute.cs
- ThicknessKeyFrameCollection.cs
- TextElement.cs
- RawUIStateInputReport.cs
- EntitySetBase.cs
- TextTreeRootTextBlock.cs
- Matrix3DStack.cs
- Margins.cs
- Label.cs
- ICspAsymmetricAlgorithm.cs
- InheritanceContextChangedEventManager.cs
- DataGridSortingEventArgs.cs
- WebEventCodes.cs
- ProcessInfo.cs
- GPPOINT.cs
- HtmlTitle.cs
- EventRouteFactory.cs
- SymmetricKeyWrap.cs
- ProviderException.cs
- QueryModel.cs
- CheckedListBox.cs
- TypeInfo.cs
- HttpEncoderUtility.cs
- ToolStripItemDataObject.cs
- SelectionList.cs
- GradientSpreadMethodValidation.cs
- TextRange.cs
- MemoryPressure.cs
- Control.cs
- SystemResourceHost.cs
- EarlyBoundInfo.cs
- CompilerParameters.cs
- TemplateManager.cs
- SiteMapDataSourceDesigner.cs
- GPRECT.cs
- SerializationSectionGroup.cs
- SessionState.cs
- CompositeCollection.cs
- SmtpCommands.cs
- CodeNamespaceImport.cs
- BasicCommandTreeVisitor.cs
- GeneralTransform.cs
- DesignerToolboxInfo.cs
- XPathSelectionIterator.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- RowParagraph.cs
- CommandHelper.cs
- StylusDevice.cs
- PeerNodeAddress.cs
- ISO2022Encoding.cs
- PolicyImporterElement.cs
- Directory.cs
- DataBindingCollection.cs
- DataObjectAttribute.cs
- DefaultPropertyAttribute.cs
- DependencyObjectProvider.cs
- SqlDataReaderSmi.cs
- SystemGatewayIPAddressInformation.cs
- EmissiveMaterial.cs
- QueryCreatedEventArgs.cs
- SpeechUI.cs
- RelativeSource.cs
- ToolStripSplitButton.cs
- OdbcConnectionHandle.cs
- RemotingAttributes.cs
- DataFormats.cs
- StorageScalarPropertyMapping.cs
- HttpWriter.cs