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
- ActiveXContainer.cs
- ECDsaCng.cs
- safePerfProviderHandle.cs
- ContentElementAutomationPeer.cs
- ReflectionHelper.cs
- Resources.Designer.cs
- DiagnosticStrings.cs
- ADMembershipProvider.cs
- GZipStream.cs
- XamlParser.cs
- CallContext.cs
- CodePropertyReferenceExpression.cs
- comcontractssection.cs
- MetadataCollection.cs
- MetadataUtilsSmi.cs
- XmlRawWriter.cs
- TransformationRules.cs
- StringAnimationBase.cs
- ConfigurationSectionHelper.cs
- SQLInt32.cs
- Processor.cs
- TextUtf8RawTextWriter.cs
- WebPartEditVerb.cs
- recordstatescratchpad.cs
- Color.cs
- ConsumerConnectionPoint.cs
- ProcessStartInfo.cs
- FindCriteriaCD1.cs
- Socket.cs
- CodeDomLoader.cs
- TextWriterEngine.cs
- ReadWriteSpinLock.cs
- RealizationContext.cs
- XmlUtf8RawTextWriter.cs
- PartialCachingAttribute.cs
- Viewport3DAutomationPeer.cs
- EntityDataSourceDesignerHelper.cs
- StrongNameMembershipCondition.cs
- DecimalSumAggregationOperator.cs
- SqlDataSourceCommandEventArgs.cs
- EntityDataSourceColumn.cs
- PersianCalendar.cs
- DataSourceXmlClassAttribute.cs
- Int32CollectionConverter.cs
- XmlNotation.cs
- RegexStringValidatorAttribute.cs
- UnicodeEncoding.cs
- SequenceFullException.cs
- CodeTypeDelegate.cs
- InkCanvasSelection.cs
- ConsumerConnectionPoint.cs
- DataErrorValidationRule.cs
- DataGridParentRows.cs
- FormViewDeleteEventArgs.cs
- ping.cs
- RawAppCommandInputReport.cs
- GenericAuthenticationEventArgs.cs
- IdleTimeoutMonitor.cs
- SymbolTable.cs
- DbConnectionPoolCounters.cs
- OutputCacheSettingsSection.cs
- AddressHeaderCollection.cs
- InternalBufferManager.cs
- CodeNamespaceCollection.cs
- BuildResultCache.cs
- RemotingConfiguration.cs
- CookielessHelper.cs
- WizardPanelChangingEventArgs.cs
- ThreadNeutralSemaphore.cs
- sqlnorm.cs
- FontUnit.cs
- DataGridCellClipboardEventArgs.cs
- PermissionSet.cs
- DispatcherExceptionEventArgs.cs
- ListBindingHelper.cs
- SR.cs
- RegexMatchCollection.cs
- XmlDomTextWriter.cs
- _BaseOverlappedAsyncResult.cs
- BitmapCacheBrush.cs
- FrugalList.cs
- RunInstallerAttribute.cs
- ServiceOperationParameter.cs
- ToolBarButton.cs
- SettingsBase.cs
- CancellationState.cs
- SyntaxCheck.cs
- MultiPageTextView.cs
- StatusBarDrawItemEvent.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- PageHandlerFactory.cs
- StrokeRenderer.cs
- DataGridViewImageColumn.cs
- LineMetrics.cs
- DataControlFieldCollection.cs
- ReferentialConstraint.cs
- TrimSurroundingWhitespaceAttribute.cs
- AvTrace.cs
- Relationship.cs
- InstancePersistence.cs