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
- SharedPersonalizationStateInfo.cs
- SecurityUtils.cs
- DocumentViewerAutomationPeer.cs
- DescriptionCreator.cs
- GenericPrincipal.cs
- ListContractAdapter.cs
- XmlDataCollection.cs
- StringValidatorAttribute.cs
- TypeUsage.cs
- PropertyNames.cs
- PrefixQName.cs
- SingleSelectRootGridEntry.cs
- ToolStripPanelRow.cs
- Console.cs
- ToolStripButton.cs
- FormatSettings.cs
- DefaultMemberAttribute.cs
- MessageQueueKey.cs
- FixedStringLookup.cs
- WebResourceAttribute.cs
- RepeatButtonAutomationPeer.cs
- UrlMappingsModule.cs
- DataSourceComponent.cs
- NativeRightsManagementAPIsStructures.cs
- TransformDescriptor.cs
- OdbcTransaction.cs
- BitStream.cs
- WebServiceErrorEvent.cs
- COM2TypeInfoProcessor.cs
- AddInStore.cs
- NativeMethods.cs
- PrtCap_Reader.cs
- ResourceContainer.cs
- CreatingCookieEventArgs.cs
- FloaterBaseParaClient.cs
- RadialGradientBrush.cs
- WindowsFormsSynchronizationContext.cs
- StrongName.cs
- PathStreamGeometryContext.cs
- XmlSchemaComplexContentRestriction.cs
- FilterQuery.cs
- ContractUtils.cs
- CredentialManagerDialog.cs
- RandomNumberGenerator.cs
- Transactions.cs
- PersonalizablePropertyEntry.cs
- PrintDocument.cs
- Operators.cs
- ContentType.cs
- GetReadStreamResult.cs
- PartialList.cs
- CommonDialog.cs
- Models.cs
- ParallelTimeline.cs
- PointLight.cs
- ConnectionManagementElementCollection.cs
- XmlAnyAttributeAttribute.cs
- DataPagerFieldCollection.cs
- DockingAttribute.cs
- DeviceFiltersSection.cs
- TableProvider.cs
- RouteCollection.cs
- CharacterHit.cs
- ExtensionQuery.cs
- Pair.cs
- ServicePointManager.cs
- LocatorManager.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ProcessingInstructionAction.cs
- DocumentViewer.cs
- ISO2022Encoding.cs
- Rotation3DAnimationUsingKeyFrames.cs
- EncodingInfo.cs
- SystemNetHelpers.cs
- ParentUndoUnit.cs
- TimelineGroup.cs
- ContractBase.cs
- WebPartEditVerb.cs
- uribuilder.cs
- TypeDelegator.cs
- SequenceNumber.cs
- WmpBitmapDecoder.cs
- AssociationSet.cs
- XsdDuration.cs
- DataGridLinkButton.cs
- COAUTHINFO.cs
- Random.cs
- TableItemPattern.cs
- WebServiceReceiveDesigner.cs
- OutputCacheProfile.cs
- InlineObject.cs
- RuntimeConfig.cs
- Metadata.cs
- SoundPlayerAction.cs
- CacheSection.cs
- SQLByteStorage.cs
- DrawItemEvent.cs
- FileSecurity.cs
- Wizard.cs
- XmlUtil.cs