Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }Removes a specific ///from the /// .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogEntryCollection.cs
- TimeoutException.cs
- ScriptingRoleServiceSection.cs
- SortedDictionary.cs
- SoapParser.cs
- EntityDataSourceChangingEventArgs.cs
- SmiEventStream.cs
- DoubleAnimationBase.cs
- CustomErrorsSection.cs
- StorageComplexTypeMapping.cs
- DependencyObjectProvider.cs
- DependencyPropertyChangedEventArgs.cs
- EnumConverter.cs
- ParallelTimeline.cs
- Decoder.cs
- SingleConverter.cs
- SQLInt16.cs
- CachedFontFamily.cs
- XmlSortKey.cs
- Types.cs
- OdbcConnectionHandle.cs
- WindowsToolbarItemAsMenuItem.cs
- UnsafeCollabNativeMethods.cs
- SelectionProviderWrapper.cs
- ListDictionaryInternal.cs
- KeyValuePairs.cs
- DrawingAttributes.cs
- DLinqTableProvider.cs
- DuplicateWaitObjectException.cs
- MsmqIntegrationSecurityMode.cs
- HttpRequestTraceRecord.cs
- SqlDeflator.cs
- SubqueryTrackingVisitor.cs
- TrustManagerMoreInformation.cs
- HyperlinkAutomationPeer.cs
- TaskFileService.cs
- SponsorHelper.cs
- PerformanceCounter.cs
- ImmComposition.cs
- AstNode.cs
- PlatformCulture.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DropDownList.cs
- WebDisplayNameAttribute.cs
- DrawingBrush.cs
- DataServiceHost.cs
- ConstraintEnumerator.cs
- StringUtil.cs
- ProfileEventArgs.cs
- EllipticalNodeOperations.cs
- TraceLevelStore.cs
- XmlCharacterData.cs
- InstanceCreationEditor.cs
- SortKey.cs
- _SafeNetHandles.cs
- PolicyException.cs
- ListDictionaryInternal.cs
- QilInvokeEarlyBound.cs
- SqlConnectionManager.cs
- SqlProfileProvider.cs
- HttpCapabilitiesEvaluator.cs
- MemberCollection.cs
- OutputCacheSettingsSection.cs
- PeerNameRecordCollection.cs
- ValidationError.cs
- SharedStream.cs
- TaskSchedulerException.cs
- AttributeEmitter.cs
- ToolStripSeparator.cs
- DependencyProperty.cs
- TranslateTransform.cs
- PixelFormatConverter.cs
- ToolStripDropDownClosedEventArgs.cs
- HttpPostedFile.cs
- TdsParser.cs
- XmlElement.cs
- EmbeddedObject.cs
- TraceXPathNavigator.cs
- AttributeCollection.cs
- ListBoxDesigner.cs
- ArithmeticLiteral.cs
- dataSvcMapFileLoader.cs
- DynamicQueryableWrapper.cs
- ConnectionManager.cs
- HttpCacheVary.cs
- BidPrivateBase.cs
- EnterpriseServicesHelper.cs
- DependencyObject.cs
- ListenerChannelContext.cs
- XmlSchemaAnnotated.cs
- XmlKeywords.cs
- ParamArrayAttribute.cs
- Brush.cs
- BrowserCapabilitiesFactory.cs
- SelectingProviderEventArgs.cs
- NewExpression.cs
- Group.cs
- NetworkInformationPermission.cs
- ObjectListFieldCollection.cs
- EpmSyndicationContentSerializer.cs