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
- Range.cs
- LinkedResource.cs
- HtmlTableRow.cs
- AmbiguousMatchException.cs
- DataServiceExpressionVisitor.cs
- DataSourceXmlElementAttribute.cs
- Resources.Designer.cs
- StrokeFIndices.cs
- IndentTextWriter.cs
- CaseStatement.cs
- HandleCollector.cs
- ToolboxItem.cs
- _SpnDictionary.cs
- ObjectQueryState.cs
- ChannelOptions.cs
- RoleManagerModule.cs
- FormsAuthentication.cs
- DataSvcMapFile.cs
- TemplateGroupCollection.cs
- EventEntry.cs
- Misc.cs
- RelationshipDetailsCollection.cs
- Span.cs
- PeerMessageDispatcher.cs
- SharedPersonalizationStateInfo.cs
- DataBindingHandlerAttribute.cs
- SafeRegistryHandle.cs
- XmlDictionaryWriter.cs
- ByteViewer.cs
- TypeForwardedFromAttribute.cs
- AspNetSynchronizationContext.cs
- CodeIdentifier.cs
- TdsEnums.cs
- CodeBlockBuilder.cs
- Guid.cs
- DecoderFallbackWithFailureFlag.cs
- ApplicationHost.cs
- XmlSerializerNamespaces.cs
- IRCollection.cs
- XPathSingletonIterator.cs
- RsaSecurityTokenAuthenticator.cs
- LinkUtilities.cs
- IIS7WorkerRequest.cs
- XmlILCommand.cs
- FixedPage.cs
- X509AudioLogo.cs
- UnaryNode.cs
- RotateTransform.cs
- ArrangedElement.cs
- exports.cs
- ControlPropertyNameConverter.cs
- DataGridViewButtonColumn.cs
- AccessDataSource.cs
- HttpListenerRequest.cs
- PathFigureCollection.cs
- WebHttpBinding.cs
- PeerCustomResolverBindingElement.cs
- ApplyImportsAction.cs
- FaultHandlingFilter.cs
- ExtensionQuery.cs
- ProjectionCamera.cs
- ComEventsSink.cs
- DateTimeFormatInfoScanner.cs
- NameValuePermission.cs
- TreeNodeClickEventArgs.cs
- ControlValuePropertyAttribute.cs
- SqlTrackingWorkflowInstance.cs
- SystemInformation.cs
- HandleTable.cs
- SymbolPair.cs
- AutoResizedEvent.cs
- NavigationPropertyEmitter.cs
- SoapCommonClasses.cs
- ColumnMapProcessor.cs
- HostingEnvironmentException.cs
- SqlInternalConnection.cs
- Color.cs
- AppLevelCompilationSectionCache.cs
- CatalogZone.cs
- SiteMapNodeCollection.cs
- ByteBufferPool.cs
- ValidationSummary.cs
- NameValueConfigurationCollection.cs
- RoutingTable.cs
- OdbcError.cs
- ActionFrame.cs
- COAUTHINFO.cs
- CatalogZoneBase.cs
- SendActivity.cs
- TraceHwndHost.cs
- UserInitiatedNavigationPermission.cs
- RegexWorker.cs
- AmbiguousMatchException.cs
- DetailsViewPageEventArgs.cs
- GridViewRowEventArgs.cs
- UnSafeCharBuffer.cs
- CorePropertiesFilter.cs
- XhtmlBasicFormAdapter.cs
- sortedlist.cs
- UnionExpr.cs