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
- SimplePropertyEntry.cs
- ServiceSecurityAuditBehavior.cs
- xmlsaver.cs
- DataPagerFieldItem.cs
- DrawingContextDrawingContextWalker.cs
- RootBuilder.cs
- WrappedIUnknown.cs
- FactoryMaker.cs
- PageContent.cs
- DbConnectionHelper.cs
- SslSecurityTokenParameters.cs
- DBCSCodePageEncoding.cs
- GridViewColumnHeader.cs
- AuthStoreRoleProvider.cs
- FunctionParameter.cs
- SessionPageStatePersister.cs
- TimerElapsedEvenArgs.cs
- WriteFileContext.cs
- WebServiceTypeData.cs
- Splitter.cs
- SafeSerializationManager.cs
- SHA1CryptoServiceProvider.cs
- UnauthorizedWebPart.cs
- UriTemplateTable.cs
- FontFamilyValueSerializer.cs
- ViewManager.cs
- CheckBoxRenderer.cs
- DBPropSet.cs
- SortDescriptionCollection.cs
- SortDescriptionCollection.cs
- initElementDictionary.cs
- wmiprovider.cs
- SQLInt16Storage.cs
- PolicyConversionContext.cs
- Drawing.cs
- LongValidator.cs
- RadioButton.cs
- VSWCFServiceContractGenerator.cs
- XmlSchemaAnnotation.cs
- QuaternionAnimationUsingKeyFrames.cs
- cookiecollection.cs
- CodeCatchClause.cs
- ResourcesBuildProvider.cs
- JsonFormatReaderGenerator.cs
- X509Extension.cs
- XmlEncodedRawTextWriter.cs
- XmlDomTextWriter.cs
- SafeWaitHandle.cs
- FrameworkElementFactory.cs
- WorkflowDesignerColors.cs
- AutoResetEvent.cs
- ImmComposition.cs
- COM2ColorConverter.cs
- WindowsRichEditRange.cs
- ConnectivityStatus.cs
- EditorPart.cs
- ObjRef.cs
- OperationAbortedException.cs
- XPathCompileException.cs
- DataSourceSelectArguments.cs
- XmlArrayItemAttributes.cs
- DataErrorValidationRule.cs
- DataFormat.cs
- BooleanAnimationUsingKeyFrames.cs
- ProjectionPlan.cs
- DefaultEvaluationContext.cs
- EventPropertyMap.cs
- Span.cs
- WebColorConverter.cs
- Condition.cs
- mediapermission.cs
- CommonDialog.cs
- HtmlElement.cs
- ListDataBindEventArgs.cs
- XsltLoader.cs
- EasingKeyFrames.cs
- CellNormalizer.cs
- ProviderConnectionPointCollection.cs
- NameValueConfigurationCollection.cs
- WebBrowserNavigatingEventHandler.cs
- DiscardableAttribute.cs
- BindingBase.cs
- DiscoveryUtility.cs
- ButtonPopupAdapter.cs
- TraceInternal.cs
- RequestCacheEntry.cs
- AttributeUsageAttribute.cs
- ViewSimplifier.cs
- StartUpEventArgs.cs
- SerializerWriterEventHandlers.cs
- PropertyRef.cs
- SystemTcpConnection.cs
- TiffBitmapDecoder.cs
- AsyncPostBackTrigger.cs
- InstanceOwnerException.cs
- DuplicateDetector.cs
- BaseParagraph.cs
- ValidationPropertyAttribute.cs
- clipboard.cs
- ConfigurationLockCollection.cs