Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- IdentityNotMappedException.cs
- SqlTypesSchemaImporter.cs
- IndicShape.cs
- DecimalStorage.cs
- ClientBuildManager.cs
- Constant.cs
- Misc.cs
- EndpointIdentityConverter.cs
- HashAlgorithm.cs
- ObjectDataSourceMethodEditor.cs
- XXXInfos.cs
- SQLDecimalStorage.cs
- PolicyStatement.cs
- Viewport3DVisual.cs
- Stroke2.cs
- BamlLocalizabilityResolver.cs
- DateTimeUtil.cs
- FontNameConverter.cs
- OracleCommandSet.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- CompilerParameters.cs
- ICspAsymmetricAlgorithm.cs
- DictionaryBase.cs
- ProcessModelSection.cs
- Vector3DKeyFrameCollection.cs
- XamlStackWriter.cs
- OptimalBreakSession.cs
- ResourceContainer.cs
- SerializationException.cs
- ResourceExpression.cs
- DeviceContext2.cs
- ConnectionsZoneAutoFormat.cs
- NotifyIcon.cs
- HttpApplication.cs
- HtmlTableRow.cs
- RoutedEventHandlerInfo.cs
- SettingsBindableAttribute.cs
- CallbackHandler.cs
- CompensatableSequenceActivity.cs
- ValueTypeFixupInfo.cs
- DeploymentExceptionMapper.cs
- XmlToDatasetMap.cs
- WindowsAuthenticationModule.cs
- QilXmlWriter.cs
- XPathDocumentNavigator.cs
- ThaiBuddhistCalendar.cs
- ProcessHost.cs
- DataBindingHandlerAttribute.cs
- ProtocolsConfigurationEntry.cs
- SingleAnimation.cs
- SystemDiagnosticsSection.cs
- DoubleLink.cs
- DriveInfo.cs
- NativeMethods.cs
- assemblycache.cs
- DocumentViewer.cs
- AttributeTable.cs
- TextBox.cs
- Model3DGroup.cs
- WebServiceTypeData.cs
- ToolStripDropDownButton.cs
- PixelShader.cs
- StateItem.cs
- XmlSchemaExternal.cs
- ManagementDateTime.cs
- CheckBoxPopupAdapter.cs
- Action.cs
- DesignerTransaction.cs
- DynamicActivityTypeDescriptor.cs
- QueryOutputWriter.cs
- WinFormsSecurity.cs
- XmlSchemaExternal.cs
- MetadataPropertyAttribute.cs
- X509DefaultServiceCertificateElement.cs
- MouseEvent.cs
- ControlCollection.cs
- SystemIcons.cs
- CollectionsUtil.cs
- TrustManager.cs
- UnmanagedHandle.cs
- IdnMapping.cs
- DebugTracing.cs
- Cursor.cs
- EventInfo.cs
- XmlWellformedWriter.cs
- QuaternionRotation3D.cs
- XmlSchemaAnnotated.cs
- securitycriticaldataClass.cs
- ToolStripSettings.cs
- BindingNavigatorDesigner.cs
- FragmentQueryKB.cs
- SplitContainer.cs
- CommentAction.cs
- OdbcEnvironment.cs
- CryptoApi.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- OracleEncoding.cs
- FormatStringEditor.cs
- HwndHostAutomationPeer.cs
- _HelperAsyncResults.cs