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
- HttpWriter.cs
- BindingManagerDataErrorEventArgs.cs
- BehaviorDragDropEventArgs.cs
- TextWriter.cs
- DataPointer.cs
- ButtonFieldBase.cs
- DataPointer.cs
- XmlSchemaChoice.cs
- DropShadowBitmapEffect.cs
- DefaultCompensation.cs
- MeasureItemEvent.cs
- StorageAssociationSetMapping.cs
- QualifierSet.cs
- ProfileBuildProvider.cs
- TargetConverter.cs
- SQLDoubleStorage.cs
- ContainerParagraph.cs
- ExtensionWindow.cs
- CheckBox.cs
- COM2EnumConverter.cs
- PasswordTextNavigator.cs
- Crc32.cs
- HashCodeCombiner.cs
- DashStyle.cs
- TrailingSpaceComparer.cs
- ObjectDataSourceMethodEventArgs.cs
- DisplayMemberTemplateSelector.cs
- AttributeEmitter.cs
- DataGridColumnStyleMappingNameEditor.cs
- BaseValidatorDesigner.cs
- GridProviderWrapper.cs
- DynamicPropertyHolder.cs
- HwndProxyElementProvider.cs
- SettingsPropertyCollection.cs
- LineUtil.cs
- ToolCreatedEventArgs.cs
- Pool.cs
- PageFunction.cs
- SrgsGrammarCompiler.cs
- Viewport3DVisual.cs
- Stacktrace.cs
- EntityDesignerDataSourceView.cs
- OdbcInfoMessageEvent.cs
- TrackingServices.cs
- ClientScriptManager.cs
- InputQueue.cs
- XmlSchemaValidator.cs
- EntryWrittenEventArgs.cs
- ConfigurationElementCollection.cs
- TextureBrush.cs
- NumberFunctions.cs
- AnnotationAdorner.cs
- ChildChangedEventArgs.cs
- WindowsPrincipal.cs
- ToolBarOverflowPanel.cs
- ViewValidator.cs
- DataGridRow.cs
- CharEntityEncoderFallback.cs
- Control.cs
- BindingContext.cs
- ConfigurationSectionCollection.cs
- SoapSchemaImporter.cs
- DuplicateWaitObjectException.cs
- MimeTypeAttribute.cs
- ByteStack.cs
- X509RawDataKeyIdentifierClause.cs
- CounterCreationData.cs
- MenuCommand.cs
- XmlNamespaceMapping.cs
- DiagnosticTrace.cs
- ExceptionRoutedEventArgs.cs
- SqlWebEventProvider.cs
- webclient.cs
- KeyboardDevice.cs
- ToolStripContentPanel.cs
- DoubleSumAggregationOperator.cs
- ObfuscationAttribute.cs
- RequestQueue.cs
- CustomExpressionEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- ImageBrush.cs
- AssertSection.cs
- RuntimeConfig.cs
- AssemblyAttributesGoHere.cs
- Pair.cs
- ForEachAction.cs
- DbConnectionStringBuilder.cs
- IIS7WorkerRequest.cs
- StringReader.cs
- DockPattern.cs
- ExcCanonicalXml.cs
- MediaPlayer.cs
- IndicShape.cs
- HtmlForm.cs
- DeclarativeConditionsCollection.cs
- MemberPath.cs
- ScrollProviderWrapper.cs
- CodeSnippetStatement.cs
- HtmlLink.cs
- DefaultProxySection.cs