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
- CaseStatementProjectedSlot.cs
- ExtensibleClassFactory.cs
- AdRotator.cs
- TriState.cs
- XmlSchemaValidationException.cs
- RuleInfoComparer.cs
- x509store.cs
- BCLDebug.cs
- brushes.cs
- SecurityRuntime.cs
- Utility.cs
- RemotingConfiguration.cs
- FormatterServices.cs
- Avt.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DoubleCollectionConverter.cs
- CompModSwitches.cs
- CompleteWizardStep.cs
- RedistVersionInfo.cs
- GlyphTypeface.cs
- Rect.cs
- ObservableDictionary.cs
- Maps.cs
- objectquery_tresulttype.cs
- SiteMapDataSourceView.cs
- UIElementPropertyUndoUnit.cs
- DocComment.cs
- CheckBox.cs
- ButtonFlatAdapter.cs
- ZoneMembershipCondition.cs
- ExtensionQuery.cs
- DSASignatureDeformatter.cs
- Mapping.cs
- XmlDocumentFragment.cs
- TypeReference.cs
- ReadOnlyHierarchicalDataSource.cs
- HorizontalAlignConverter.cs
- DataService.cs
- FloaterBaseParagraph.cs
- TargetControlTypeAttribute.cs
- ActivityXRefConverter.cs
- SplashScreenNativeMethods.cs
- CategoryGridEntry.cs
- XPathChildIterator.cs
- OleServicesContext.cs
- CompositionTarget.cs
- SmiMetaData.cs
- SchemaElementLookUpTable.cs
- TextMarkerSource.cs
- XmlDataFileEditor.cs
- ConfigDefinitionUpdates.cs
- TypeDescriptor.cs
- TreeNodeBinding.cs
- SearchForVirtualItemEventArgs.cs
- ConfigErrorGlyph.cs
- SchemaElementDecl.cs
- WorkflowOperationInvoker.cs
- ModulesEntry.cs
- ConcurrentDictionary.cs
- ObjectDataSourceView.cs
- WebPartDescription.cs
- WebPartDescriptionCollection.cs
- ByteStreamMessageUtility.cs
- SqlParameterCollection.cs
- XmlSchemaComplexContentExtension.cs
- BitmapEffectInputData.cs
- AutoGeneratedFieldProperties.cs
- MailMessage.cs
- BehaviorEditorPart.cs
- XPathScanner.cs
- SqlDataSourceFilteringEventArgs.cs
- CompiledRegexRunnerFactory.cs
- InputProviderSite.cs
- Nullable.cs
- CopyAction.cs
- Span.cs
- MemberAccessException.cs
- InvalidFilterCriteriaException.cs
- CompositeKey.cs
- XmlRawWriter.cs
- Point4D.cs
- CompoundFileStreamReference.cs
- ServiceHostingEnvironmentSection.cs
- GregorianCalendar.cs
- MetaColumn.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- SecurityResources.cs
- PatternMatcher.cs
- ellipse.cs
- SelectionHighlightInfo.cs
- XmlDocumentSchema.cs
- RightsManagementPermission.cs
- ObjectParameterCollection.cs
- TableParaClient.cs
- ActivityMarkupSerializer.cs
- _NtlmClient.cs
- TabControl.cs
- PeerResolverBindingElement.cs
- ObjectQueryProvider.cs
- PropertyDescriptor.cs