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
- PathSegment.cs
- CompilationLock.cs
- ExpressionConverter.cs
- StatusBar.cs
- IndependentlyAnimatedPropertyMetadata.cs
- RemoveFromCollection.cs
- Filter.cs
- TransactionFlowAttribute.cs
- WindowsRichEditRange.cs
- ArithmeticException.cs
- ISO2022Encoding.cs
- Size3D.cs
- HashCodeCombiner.cs
- Debugger.cs
- ConstantSlot.cs
- LinqDataSource.cs
- BindUriHelper.cs
- JsonWriterDelegator.cs
- User.cs
- RSACryptoServiceProvider.cs
- DataControlPagerLinkButton.cs
- XmlEnumAttribute.cs
- FilteredDataSetHelper.cs
- MsmqIntegrationBindingElement.cs
- DrawingImage.cs
- GenericIdentity.cs
- UpWmlPageAdapter.cs
- EnumCodeDomSerializer.cs
- VoiceSynthesis.cs
- IndexerNameAttribute.cs
- RootBrowserWindow.cs
- URLAttribute.cs
- DragCompletedEventArgs.cs
- DefaultTextStore.cs
- ClientSession.cs
- TimeSpanSecondsConverter.cs
- LayoutEvent.cs
- ObjectDataSourceStatusEventArgs.cs
- MatrixAnimationUsingKeyFrames.cs
- DynamicUpdateCommand.cs
- DataGridViewCellStateChangedEventArgs.cs
- ConfigurationSectionCollection.cs
- ByteAnimationUsingKeyFrames.cs
- HierarchicalDataSourceIDConverter.cs
- SelfIssuedSamlTokenFactory.cs
- ImageSource.cs
- Viewport2DVisual3D.cs
- Track.cs
- DateTimePicker.cs
- QilPatternFactory.cs
- ScriptIgnoreAttribute.cs
- XmlEncoding.cs
- DataFormat.cs
- DataRowComparer.cs
- MailMessage.cs
- TemplateBindingExtensionConverter.cs
- WindowsIdentity.cs
- listitem.cs
- ListViewUpdatedEventArgs.cs
- ObjectListShowCommandsEventArgs.cs
- RequestUriProcessor.cs
- IPipelineRuntime.cs
- MetadataPropertyAttribute.cs
- ConnectionPoolManager.cs
- BrushValueSerializer.cs
- Line.cs
- SoapProtocolImporter.cs
- SchemaTypeEmitter.cs
- TreeBuilderXamlTranslator.cs
- SoapExtensionTypeElementCollection.cs
- LabelInfo.cs
- XmlWrappingWriter.cs
- InputBinder.cs
- ImageMapEventArgs.cs
- Object.cs
- Random.cs
- SoapAttributes.cs
- HotSpotCollection.cs
- ConfigurationHelpers.cs
- WebPartDescriptionCollection.cs
- DataKeyPropertyAttribute.cs
- ComboBoxAutomationPeer.cs
- XmlQualifiedName.cs
- HtmlInputCheckBox.cs
- SecureUICommand.cs
- VectorAnimationUsingKeyFrames.cs
- OdbcConnectionHandle.cs
- TextTrailingCharacterEllipsis.cs
- MemberPath.cs
- QueryHandler.cs
- ReadingWritingEntityEventArgs.cs
- XmlTextWriter.cs
- Transform3DGroup.cs
- WindowsFont.cs
- LayoutManager.cs
- EnumType.cs
- Operator.cs
- Constraint.cs
- Decoder.cs
- ObjectDataSourceStatusEventArgs.cs