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
- SoapObjectReader.cs
- EntityWithChangeTrackerStrategy.cs
- QilXmlReader.cs
- KeyGesture.cs
- TimeSpan.cs
- ZoneMembershipCondition.cs
- PackageRelationshipCollection.cs
- ICspAsymmetricAlgorithm.cs
- DataObjectAttribute.cs
- columnmapfactory.cs
- DeclarativeCatalogPart.cs
- JsonCollectionDataContract.cs
- ActivationServices.cs
- InputBinding.cs
- IsolatedStorageException.cs
- SqlUtils.cs
- DataTable.cs
- AesCryptoServiceProvider.cs
- DbConnectionPool.cs
- ResolveMatchesMessageCD1.cs
- PageStatePersister.cs
- BooleanConverter.cs
- VisualBrush.cs
- NativeMethods.cs
- ViewStateException.cs
- DebuggerAttributes.cs
- XmlObjectSerializer.cs
- DisableDpiAwarenessAttribute.cs
- TypeContext.cs
- MediaCommands.cs
- KeyTimeConverter.cs
- StructuralType.cs
- LZCodec.cs
- DateTimePickerDesigner.cs
- PathFigureCollectionConverter.cs
- SectionInformation.cs
- ProtocolsSection.cs
- EventItfInfo.cs
- ReadWriteObjectLock.cs
- DomainLiteralReader.cs
- SByteStorage.cs
- Durable.cs
- MarkupExtensionReturnTypeAttribute.cs
- SimpleMailWebEventProvider.cs
- ConfigXmlSignificantWhitespace.cs
- StringArrayConverter.cs
- ProfileManager.cs
- BoundField.cs
- DataGridViewCellValueEventArgs.cs
- PageVisual.cs
- ServiceBehaviorAttribute.cs
- MultiViewDesigner.cs
- DefaultHttpHandler.cs
- SetterTriggerConditionValueConverter.cs
- SQLRoleProvider.cs
- SiteMapDataSource.cs
- Pair.cs
- FastEncoderWindow.cs
- CallSiteBinder.cs
- MetadataItemEmitter.cs
- SpeechSynthesizer.cs
- WebReferenceOptions.cs
- TrackingRecord.cs
- Peer.cs
- SynchronizationLockException.cs
- PublisherIdentityPermission.cs
- SystemPens.cs
- ProfessionalColorTable.cs
- CompleteWizardStep.cs
- InheritanceContextChangedEventManager.cs
- Int32EqualityComparer.cs
- StylesEditorDialog.cs
- SHA512Cng.cs
- _TimerThread.cs
- ProjectedSlot.cs
- SqlProcedureAttribute.cs
- TextParagraph.cs
- WorkerProcess.cs
- AnnotationHighlightLayer.cs
- HttpCapabilitiesEvaluator.cs
- SoapCommonClasses.cs
- XmlSerializerImportOptions.cs
- IFlowDocumentViewer.cs
- SpecialTypeDataContract.cs
- XmlSchemaValidationException.cs
- Configuration.cs
- HttpCacheVaryByContentEncodings.cs
- UpdateTranslator.cs
- SqlErrorCollection.cs
- ProviderConnectionPointCollection.cs
- TogglePattern.cs
- BaseResourcesBuildProvider.cs
- AsyncOperationManager.cs
- CounterCreationData.cs
- GeneralTransform3D.cs
- DispatcherSynchronizationContext.cs
- WebPartDescriptionCollection.cs
- WeakReferenceKey.cs
- BindingManagerDataErrorEventArgs.cs
- SvcMapFile.cs