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
- PanelStyle.cs
- ActiveXMessageFormatter.cs
- ProfileGroupSettingsCollection.cs
- SqlCrossApplyToCrossJoin.cs
- AttributeEmitter.cs
- XmlNode.cs
- CaseInsensitiveHashCodeProvider.cs
- MemberHolder.cs
- DispatcherOperation.cs
- FormsAuthenticationCredentials.cs
- XhtmlTextWriter.cs
- StringOutput.cs
- InnerItemCollectionView.cs
- WebPartVerbsEventArgs.cs
- NotSupportedException.cs
- ObjectFullSpanRewriter.cs
- StringStorage.cs
- UdpChannelFactory.cs
- WebPartVerbCollection.cs
- SignatureHelper.cs
- ServiceMetadataExtension.cs
- _SslStream.cs
- TransactionManager.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SafeNativeHandle.cs
- CachedPathData.cs
- ScaleTransform.cs
- ProgressBar.cs
- XmlSchemaProviderAttribute.cs
- ListViewDeletedEventArgs.cs
- DES.cs
- MimeTypePropertyAttribute.cs
- Rect3DValueSerializer.cs
- GacUtil.cs
- BaseCodeDomTreeGenerator.cs
- SubqueryRules.cs
- TreeNodeEventArgs.cs
- ArrayHelper.cs
- TableProviderWrapper.cs
- ExpressionConverter.cs
- DynamicField.cs
- PropertyValueEditor.cs
- IncrementalCompileAnalyzer.cs
- Int16.cs
- BitmapImage.cs
- DropDownButton.cs
- TransactionFilter.cs
- CategoryValueConverter.cs
- ServerIdentity.cs
- SqlXml.cs
- WindowsRebar.cs
- HtmlTableCellCollection.cs
- ImageFormat.cs
- ResourceReferenceExpressionConverter.cs
- QueryOpeningEnumerator.cs
- TreeNodeSelectionProcessor.cs
- ImageMapEventArgs.cs
- ServiceDesigner.cs
- RelationshipSet.cs
- NativeCppClassAttribute.cs
- Rijndael.cs
- TransactionChannelListener.cs
- PlanCompilerUtil.cs
- RadioButton.cs
- Version.cs
- AQNBuilder.cs
- ToolStripDropDownItem.cs
- GeometryCombineModeValidation.cs
- WindowsContainer.cs
- WebHttpSecurityModeHelper.cs
- ByteRangeDownloader.cs
- ScaleTransform.cs
- FormViewUpdatedEventArgs.cs
- UniformGrid.cs
- CodeComment.cs
- ProcessHostMapPath.cs
- bidPrivateBase.cs
- ClientRolePrincipal.cs
- SmiContext.cs
- MetadataItem.cs
- SoapSchemaExporter.cs
- DBNull.cs
- MarkupObject.cs
- ServiceHostingEnvironmentSection.cs
- MethodBody.cs
- IssuedTokenParametersEndpointAddressElement.cs
- DataControlFieldCell.cs
- WebPartZoneBase.cs
- Vector3DAnimationBase.cs
- StylusButtonCollection.cs
- VisualStyleTypesAndProperties.cs
- ExtenderProvidedPropertyAttribute.cs
- _FtpDataStream.cs
- XmlWriterDelegator.cs
- MenuItemStyleCollection.cs
- DataGridViewButtonColumn.cs
- METAHEADER.cs
- TcpHostedTransportConfiguration.cs
- ScriptManager.cs
- MessageQueueInstaller.cs