Code:
/ 4.0 / 4.0 / 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 /// . // // // ----------------------------------------------------------------------------- // 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
- ArgumentOutOfRangeException.cs
- baseaxisquery.cs
- InheritanceContextChangedEventManager.cs
- ConsoleTraceListener.cs
- SpStreamWrapper.cs
- SequentialOutput.cs
- sitestring.cs
- UrlPropertyAttribute.cs
- ValueUtilsSmi.cs
- PropertyChange.cs
- panel.cs
- CodeGotoStatement.cs
- WorkerRequest.cs
- StringInfo.cs
- IsolatedStorageFilePermission.cs
- PassportIdentity.cs
- RightNameExpirationInfoPair.cs
- documentsequencetextpointer.cs
- DataGridViewCellCollection.cs
- Perspective.cs
- panel.cs
- DynamicControlParameter.cs
- IODescriptionAttribute.cs
- PageCodeDomTreeGenerator.cs
- UnmanagedMemoryStreamWrapper.cs
- CustomExpression.cs
- AppDomainManager.cs
- FillErrorEventArgs.cs
- DebugController.cs
- MarshalDirectiveException.cs
- MultipleViewProviderWrapper.cs
- StringReader.cs
- TextTreeExtractElementUndoUnit.cs
- ManualResetEvent.cs
- WebPartMovingEventArgs.cs
- HttpWebRequest.cs
- UserPreferenceChangedEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- HwndAppCommandInputProvider.cs
- QueryConverter.cs
- DecoratedNameAttribute.cs
- DataColumnMappingCollection.cs
- HtmlInputHidden.cs
- AttachedPropertyBrowsableAttribute.cs
- ProgressBarBrushConverter.cs
- EdmItemError.cs
- AssemblyNameProxy.cs
- SoapFormatExtensions.cs
- controlskin.cs
- NonValidatingSecurityTokenAuthenticator.cs
- BinaryMethodMessage.cs
- XmlSchemaExternal.cs
- objectquery_tresulttype.cs
- TreeNode.cs
- IndexedEnumerable.cs
- ReversePositionQuery.cs
- FeatureAttribute.cs
- TransactionBridge.cs
- DynamicField.cs
- BindingManagerDataErrorEventArgs.cs
- TextTreeInsertElementUndoUnit.cs
- MatrixAnimationBase.cs
- NTAccount.cs
- Internal.cs
- HMACSHA384.cs
- BufferAllocator.cs
- Set.cs
- SystemWebCachingSectionGroup.cs
- ConfigXmlWhitespace.cs
- NamespaceImport.cs
- HorizontalAlignConverter.cs
- TextElement.cs
- DBNull.cs
- HtmlTitle.cs
- TreeNodeBinding.cs
- XmlDocumentSerializer.cs
- SystemWebSectionGroup.cs
- COM2EnumConverter.cs
- BindToObject.cs
- Double.cs
- Collection.cs
- ReferentialConstraint.cs
- SourceElementsCollection.cs
- mediaeventshelper.cs
- ToolStripDropDownButton.cs
- ReferencedType.cs
- Window.cs
- FlowDocumentPage.cs
- Separator.cs
- FileDialogCustomPlacesCollection.cs
- HasRunnableWorkflowEvent.cs
- ValidationErrorCollection.cs
- RectAnimationClockResource.cs
- NamedPipeAppDomainProtocolHandler.cs
- PerformanceCounterCategory.cs
- EntityDataSourceContextCreatedEventArgs.cs
- APCustomTypeDescriptor.cs
- XmlReader.cs
- DataGridViewCellCancelEventArgs.cs
- SystemColorTracker.cs