Code:
/ FX-1434 / FX-1434 / 1.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
- CapabilitiesAssignment.cs
- DbProviderManifest.cs
- SystemSounds.cs
- IsolatedStoragePermission.cs
- hresults.cs
- ListenerSessionConnection.cs
- UIElement3DAutomationPeer.cs
- XmlAnyElementAttribute.cs
- TableLayoutStyleCollection.cs
- InkCanvasSelectionAdorner.cs
- PropertyKey.cs
- XPathDocumentIterator.cs
- SQLSingle.cs
- VSWCFServiceContractGenerator.cs
- XmlDocument.cs
- IdnElement.cs
- SyndicationDeserializer.cs
- RealProxy.cs
- KnownBoxes.cs
- BindingSource.cs
- ErrorHandler.cs
- ActivationServices.cs
- ResourceCodeDomSerializer.cs
- ToolTipAutomationPeer.cs
- XPathQilFactory.cs
- NonClientArea.cs
- HtmlLink.cs
- WindowInteropHelper.cs
- TaskExceptionHolder.cs
- FamilyTypefaceCollection.cs
- Context.cs
- OuterGlowBitmapEffect.cs
- ObjectCloneHelper.cs
- FixedSOMContainer.cs
- FacetDescription.cs
- HtmlShim.cs
- X509ClientCertificateCredentialsElement.cs
- UnaryNode.cs
- StandardToolWindows.cs
- RelativeSource.cs
- ColorComboBox.cs
- DataGridAutoFormatDialog.cs
- VerificationException.cs
- MessageProperties.cs
- SqlResolver.cs
- WebPartHeaderCloseVerb.cs
- EntityContainer.cs
- Stroke.cs
- SqlTriggerContext.cs
- PeerCollaborationPermission.cs
- CompositionDesigner.cs
- DetailsViewRow.cs
- LinqDataSourceView.cs
- XmlWriter.cs
- HttpServerUtilityWrapper.cs
- DependentTransaction.cs
- RelationshipEndCollection.cs
- AppDomainUnloadedException.cs
- TypeDescriptorFilterService.cs
- DataGrid.cs
- TableProviderWrapper.cs
- Parameter.cs
- IndexedEnumerable.cs
- AddInEnvironment.cs
- ByteKeyFrameCollection.cs
- SqlMethods.cs
- CalendarDateRangeChangingEventArgs.cs
- VirtualizedContainerService.cs
- AssertSection.cs
- filewebrequest.cs
- QueryParameter.cs
- ClientViaElement.cs
- SelectionChangedEventArgs.cs
- SubqueryTrackingVisitor.cs
- EventsTab.cs
- WmfPlaceableFileHeader.cs
- CheckBoxRenderer.cs
- MetafileHeader.cs
- TranslateTransform3D.cs
- InteropBitmapSource.cs
- HttpContextBase.cs
- PatternMatcher.cs
- XmlCDATASection.cs
- AlternateViewCollection.cs
- PersonalizationState.cs
- ModulesEntry.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- EntityContainer.cs
- CompensatableTransactionScopeActivityDesigner.cs
- NamespaceEmitter.cs
- LeafCellTreeNode.cs
- SqlInfoMessageEvent.cs
- ItemsControlAutomationPeer.cs
- ArrayElementGridEntry.cs
- CreatingCookieEventArgs.cs
- ScriptResourceInfo.cs
- EntityCommandExecutionException.cs
- PackageController.cs
- DocumentPageHost.cs
- URLEditor.cs