Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PrintEvent.cs
- CompilationSection.cs
- TrustManagerMoreInformation.cs
- BindingMemberInfo.cs
- ServiceControllerDesigner.cs
- PrivateFontCollection.cs
- ResourceReferenceExpressionConverter.cs
- Variant.cs
- SelectedGridItemChangedEvent.cs
- GiveFeedbackEvent.cs
- WebServiceReceive.cs
- DescendantQuery.cs
- CompilerScopeManager.cs
- EdmToObjectNamespaceMap.cs
- CryptoProvider.cs
- EventHandlerList.cs
- EdmValidator.cs
- SqlFormatter.cs
- CSharpCodeProvider.cs
- XXXOnTypeBuilderInstantiation.cs
- StandardCommands.cs
- ScriptServiceAttribute.cs
- CodeGeneratorOptions.cs
- TableLayoutStyle.cs
- PropertyChangedEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- MetadataResolver.cs
- TextServicesHost.cs
- WebPartCancelEventArgs.cs
- SponsorHelper.cs
- DbConnectionClosed.cs
- TypeAccessException.cs
- BitmapDecoder.cs
- WebBrowserUriTypeConverter.cs
- PropertyValueUIItem.cs
- Peer.cs
- COM2ExtendedTypeConverter.cs
- GetWinFXPath.cs
- DesignerCommandAdapter.cs
- PkcsMisc.cs
- MobileListItemCollection.cs
- Part.cs
- ScriptingJsonSerializationSection.cs
- ObjectDataSource.cs
- _AutoWebProxyScriptWrapper.cs
- SQLDateTime.cs
- CodeCatchClause.cs
- DefaultTextStore.cs
- SqlDataSourceQueryEditor.cs
- AspNetCompatibilityRequirementsAttribute.cs
- TextPointer.cs
- BooleanProjectedSlot.cs
- JsonReader.cs
- JsonFormatWriterGenerator.cs
- TailPinnedEventArgs.cs
- FileDialog_Vista.cs
- StandardCommandToolStripMenuItem.cs
- DataGridComboBoxColumn.cs
- BasicHttpMessageSecurityElement.cs
- EntitySetBase.cs
- TextPointerBase.cs
- InputBuffer.cs
- AffineTransform3D.cs
- OdbcConnection.cs
- MultiByteCodec.cs
- XmlIlGenerator.cs
- LinkedList.cs
- QuaternionAnimationUsingKeyFrames.cs
- StoreItemCollection.Loader.cs
- XmlDomTextWriter.cs
- TableCellCollection.cs
- GeometryGroup.cs
- ImageBrush.cs
- TextTreeInsertElementUndoUnit.cs
- ManagementScope.cs
- returneventsaver.cs
- JsonMessageEncoderFactory.cs
- MinimizableAttributeTypeConverter.cs
- KoreanCalendar.cs
- Soap12FormatExtensions.cs
- SqlDeflator.cs
- LocatorGroup.cs
- SystemIPInterfaceProperties.cs
- PreloadHost.cs
- Manipulation.cs
- DbConnectionPoolIdentity.cs
- SmtpNegotiateAuthenticationModule.cs
- WindowsFormsSectionHandler.cs
- SettingsPropertyValue.cs
- ParsedAttributeCollection.cs
- ToolstripProfessionalRenderer.cs
- ReadOnlyDictionary.cs
- RemoteWebConfigurationHostStream.cs
- HttpChannelHelpers.cs
- TraceLevelStore.cs
- NativeMethods.cs
- ListControl.cs
- ScrollItemPattern.cs
- SafeSecurityHelper.cs
- RtfNavigator.cs