Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); } } }Removes a specific ///from the /// .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDataSourceStatementEditor.cs
- SkewTransform.cs
- DataPagerFieldCollection.cs
- ChameleonKey.cs
- CachedFontFace.cs
- MobileCategoryAttribute.cs
- InvalidCastException.cs
- WsatProxy.cs
- RepeatBehaviorConverter.cs
- TransformerConfigurationWizardBase.cs
- DoubleAnimationUsingPath.cs
- Material.cs
- Rotation3D.cs
- StackOverflowException.cs
- ObjectViewListener.cs
- NavigationProperty.cs
- DesignerTransactionCloseEvent.cs
- Soap11ServerProtocol.cs
- SamlAssertion.cs
- EdmMember.cs
- TextureBrush.cs
- DataColumnMapping.cs
- PublisherIdentityPermission.cs
- ApplicationServicesHostFactory.cs
- Keyboard.cs
- TemplateParser.cs
- TlsnegoTokenProvider.cs
- SplineQuaternionKeyFrame.cs
- XmlWrappingReader.cs
- storepermissionattribute.cs
- OrderByQueryOptionExpression.cs
- SecurityCriticalDataForSet.cs
- DelegatingTypeDescriptionProvider.cs
- Mapping.cs
- PrePrepareMethodAttribute.cs
- BlurBitmapEffect.cs
- CalloutQueueItem.cs
- __Filters.cs
- TextEditorContextMenu.cs
- EntityDataSourceDesigner.cs
- XamlWriter.cs
- Char.cs
- BaseCodeDomTreeGenerator.cs
- securitycriticaldataformultiplegetandset.cs
- ColorConvertedBitmap.cs
- VirtualDirectoryMappingCollection.cs
- SwitchAttribute.cs
- DragDeltaEventArgs.cs
- RootBuilder.cs
- ListBoxItem.cs
- MimeWriter.cs
- DecoderNLS.cs
- WrapperEqualityComparer.cs
- UserControl.cs
- SHA1.cs
- MimeMapping.cs
- PagedControl.cs
- SurrogateEncoder.cs
- Configuration.cs
- MemberBinding.cs
- InlinedAggregationOperatorEnumerator.cs
- SafeRightsManagementEnvironmentHandle.cs
- ArraySegment.cs
- ServerIdentity.cs
- EventMappingSettings.cs
- Vertex.cs
- CallSiteBinder.cs
- EditorPartChrome.cs
- XmlSchemas.cs
- WeakKeyDictionary.cs
- CompositionCommandSet.cs
- ElementMarkupObject.cs
- ParseElementCollection.cs
- EventPrivateKey.cs
- MsmqInputMessagePool.cs
- ServiceHttpHandlerFactory.cs
- DataGridViewColumnHeaderCell.cs
- XmlElementAttribute.cs
- TreeViewBindingsEditor.cs
- WebPartHeaderCloseVerb.cs
- TypeSystemHelpers.cs
- BevelBitmapEffect.cs
- DynamicDataRouteHandler.cs
- TreeView.cs
- BrowserInteropHelper.cs
- WebPartDisplayMode.cs
- MissingMemberException.cs
- WSHttpBindingBase.cs
- ECDsa.cs
- DataGridTableCollection.cs
- BamlTreeMap.cs
- SerializationInfo.cs
- KeyMatchBuilder.cs
- TypedRowHandler.cs
- DispatchOperation.cs
- NativeConfigurationLoader.cs
- StringCollectionEditor.cs
- SafeCertificateStore.cs
- CodePageEncoding.cs
- CngKeyCreationParameters.cs