Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AssociationTypeEmitter.cs
- HtmlInputImage.cs
- DataGridViewComboBoxCell.cs
- PeerCredential.cs
- login.cs
- TextContainerChangedEventArgs.cs
- FrameworkName.cs
- StsCommunicationException.cs
- ResizeGrip.cs
- TransformationRules.cs
- BaseTemplateBuildProvider.cs
- DriveInfo.cs
- ConfigXmlWhitespace.cs
- KeyTimeConverter.cs
- SystemWebExtensionsSectionGroup.cs
- Input.cs
- TextEffectResolver.cs
- XmlSerializableServices.cs
- RichTextBoxConstants.cs
- ImmutableCollection.cs
- XmlUnspecifiedAttribute.cs
- ThreadNeutralSemaphore.cs
- SimpleParser.cs
- Point3DAnimationBase.cs
- cryptoapiTransform.cs
- DelegateHelpers.cs
- IApplicationTrustManager.cs
- InternalSafeNativeMethods.cs
- ScrollItemPattern.cs
- ClaimTypes.cs
- validationstate.cs
- SafeRightsManagementQueryHandle.cs
- DbModificationClause.cs
- TransformGroup.cs
- ResourcesGenerator.cs
- WebScriptMetadataFormatter.cs
- WebPartHeaderCloseVerb.cs
- CalendarDataBindingHandler.cs
- PeerApplication.cs
- DefaultCommandConverter.cs
- QilStrConcat.cs
- XmlTypeAttribute.cs
- WSHttpBindingBase.cs
- ITextView.cs
- Translator.cs
- SystemInfo.cs
- ListViewTableRow.cs
- DataGrid.cs
- TraceXPathNavigator.cs
- SecurityTokenAttachmentMode.cs
- XamlSerializerUtil.cs
- SignatureHelper.cs
- PointCollectionConverter.cs
- HideDisabledControlAdapter.cs
- Panel.cs
- HandoffBehavior.cs
- HttpHandlerAction.cs
- COM2IDispatchConverter.cs
- PointHitTestResult.cs
- SortAction.cs
- PageContent.cs
- NativeMethods.cs
- Attachment.cs
- GroupBoxAutomationPeer.cs
- FontFamilyConverter.cs
- CmsUtils.cs
- TreeIterators.cs
- Expressions.cs
- OverlappedAsyncResult.cs
- XmlSchemaSimpleTypeUnion.cs
- WindowPattern.cs
- BrowserCapabilitiesFactoryBase.cs
- GridViewDeleteEventArgs.cs
- ClientTargetSection.cs
- WindowsStartMenu.cs
- ConnectionConsumerAttribute.cs
- LogRestartAreaEnumerator.cs
- ObjectViewEntityCollectionData.cs
- ClockController.cs
- UIEndRequest.cs
- HttpException.cs
- ComplexBindingPropertiesAttribute.cs
- URI.cs
- XamlSerializerUtil.cs
- XmlAttributeCollection.cs
- NativeMethodsOther.cs
- RotateTransform.cs
- AngleUtil.cs
- SchemaInfo.cs
- WebPartEditVerb.cs
- shaper.cs
- PeerCredential.cs
- SafeHandles.cs
- OptimisticConcurrencyException.cs
- FloaterParaClient.cs
- EventLogTraceListener.cs
- DetailsViewRowCollection.cs
- SslStream.cs
- EmbossBitmapEffect.cs
- PasswordTextNavigator.cs