Code:
/ 4.0 / 4.0 / untmp / 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 /// .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataList.cs
- MaterialGroup.cs
- DefaultExpressionVisitor.cs
- FacetValueContainer.cs
- Soap.cs
- Cast.cs
- GuidConverter.cs
- FontStyleConverter.cs
- MDIControlStrip.cs
- SettingsPropertyCollection.cs
- PolyBezierSegment.cs
- WorkflowQueue.cs
- SqlClientFactory.cs
- OpCellTreeNode.cs
- PolyLineSegment.cs
- MultipleCopiesCollection.cs
- PageClientProxyGenerator.cs
- RemotingConfigParser.cs
- MainMenu.cs
- DecimalFormatter.cs
- FrameSecurityDescriptor.cs
- Header.cs
- RootNamespaceAttribute.cs
- ToolStripItemRenderEventArgs.cs
- Itemizer.cs
- DocumentViewerConstants.cs
- GridViewRowPresenter.cs
- SqlConnectionPoolProviderInfo.cs
- SqlFileStream.cs
- DebugHandleTracker.cs
- InlineUIContainer.cs
- FreezableDefaultValueFactory.cs
- TextFormattingConverter.cs
- Opcode.cs
- DiscoveryReference.cs
- DbProviderSpecificTypePropertyAttribute.cs
- HwndStylusInputProvider.cs
- MultiTrigger.cs
- RequestContext.cs
- ContextMenuAutomationPeer.cs
- DateTimeOffsetStorage.cs
- SolidBrush.cs
- DataGridViewColumnHeaderCell.cs
- TextAction.cs
- MessageSmuggler.cs
- StrokeSerializer.cs
- SchemaElement.cs
- EventPropertyMap.cs
- FrameworkContextData.cs
- StateMachineSubscription.cs
- RangeValueProviderWrapper.cs
- ContextDataSourceView.cs
- Repeater.cs
- SqlXmlStorage.cs
- GeometryGroup.cs
- ButtonBase.cs
- ProcessHost.cs
- OracleTransaction.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- HttpCapabilitiesBase.cs
- ComMethodElementCollection.cs
- GridToolTip.cs
- URLIdentityPermission.cs
- BamlRecordWriter.cs
- ExpressionList.cs
- DynamicFilterExpression.cs
- ServiceInfo.cs
- EntitySqlQueryState.cs
- TaskFormBase.cs
- Point4DValueSerializer.cs
- listitem.cs
- AuthenticatedStream.cs
- TextElementEditingBehaviorAttribute.cs
- _LocalDataStore.cs
- ViewgenContext.cs
- ControlPropertyNameConverter.cs
- FilterQuery.cs
- PersistenceMetadataNamespace.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ADMembershipUser.cs
- EntityContainerAssociationSet.cs
- KeyNotFoundException.cs
- _emptywebproxy.cs
- EmissiveMaterial.cs
- SignatureHelper.cs
- PackWebResponse.cs
- GZipStream.cs
- ParameterCollection.cs
- BitVector32.cs
- HttpCacheVaryByContentEncodings.cs
- StatusStrip.cs
- IUnknownConstantAttribute.cs
- HandleExceptionArgs.cs
- CompareInfo.cs
- CommandBinding.cs
- SchemaType.cs
- CheckStoreFileValidityRequest.cs
- AssemblyAttributesGoHere.cs
- TailCallAnalyzer.cs
- ContentElement.cs