Code:
/ DotNET / DotNET / 8.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
- Range.cs
- ToolStripItemEventArgs.cs
- GradientSpreadMethodValidation.cs
- HtmlContainerControl.cs
- SplineKeyFrames.cs
- MLangCodePageEncoding.cs
- RectangleConverter.cs
- DetailsViewDeleteEventArgs.cs
- DataGridViewCellParsingEventArgs.cs
- AllowedAudienceUriElementCollection.cs
- SerializerDescriptor.cs
- PerformanceCounterManager.cs
- WorkflowServiceInstance.cs
- BindingEditor.xaml.cs
- StrongName.cs
- LeaseManager.cs
- XPathScanner.cs
- DodSequenceMerge.cs
- PseudoWebRequest.cs
- MissingManifestResourceException.cs
- InkCanvas.cs
- _SecureChannel.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- UInt16.cs
- XmlSchemaSimpleContentExtension.cs
- HostingEnvironmentException.cs
- InvalidateEvent.cs
- EncoderParameter.cs
- SmtpLoginAuthenticationModule.cs
- ListBoxItemAutomationPeer.cs
- XmlLanguage.cs
- CodeSubDirectoriesCollection.cs
- _CookieModule.cs
- xsdvalidator.cs
- HtmlControlPersistable.cs
- MdiWindowListStrip.cs
- Quaternion.cs
- SlotInfo.cs
- MatrixCamera.cs
- CodeRemoveEventStatement.cs
- NativeRecognizer.cs
- NativeMethodsOther.cs
- RotateTransform.cs
- MediaCommands.cs
- TableLayoutStyleCollection.cs
- TracePayload.cs
- SettingsBindableAttribute.cs
- DataGridView.cs
- XPathScanner.cs
- ReservationNotFoundException.cs
- RSAPKCS1SignatureDeformatter.cs
- ThrowHelper.cs
- OracleColumn.cs
- TextServicesPropertyRanges.cs
- DynamicAttribute.cs
- Win32MouseDevice.cs
- ReflectionTypeLoadException.cs
- AdornerDecorator.cs
- Bits.cs
- AutomationAttributeInfo.cs
- HttpCapabilitiesBase.cs
- SchemaSetCompiler.cs
- BitmapEffectInput.cs
- EntityContainerEmitter.cs
- InvalidFilterCriteriaException.cs
- MarkupCompilePass2.cs
- Duration.cs
- DrawingContextWalker.cs
- ProxyHwnd.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- SpnEndpointIdentityExtension.cs
- TypeSystemHelpers.cs
- ExpressionLink.cs
- EdmItemError.cs
- JournalNavigationScope.cs
- SessionState.cs
- NameSpaceExtractor.cs
- NullableLongSumAggregationOperator.cs
- SymDocumentType.cs
- BinaryConverter.cs
- DayRenderEvent.cs
- RadioButtonList.cs
- DataViewSetting.cs
- ProcessHostConfigUtils.cs
- TabControlAutomationPeer.cs
- CompensatableSequenceActivity.cs
- LayoutSettings.cs
- ObjectDataSource.cs
- CounterSampleCalculator.cs
- AnimatedTypeHelpers.cs
- NativeStructs.cs
- AuthStoreRoleProvider.cs
- StringKeyFrameCollection.cs
- MetadataImporter.cs
- grammarelement.cs
- DateTimeFormatInfoScanner.cs
- MessageFilter.cs
- Point4D.cs
- StructuralComparisons.cs
- SocketException.cs