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
- DispatcherSynchronizationContext.cs
- RootAction.cs
- AppliedDeviceFiltersEditor.cs
- DataGridViewColumnEventArgs.cs
- PasswordRecovery.cs
- DataGridComboBoxColumn.cs
- ObfuscateAssemblyAttribute.cs
- RootBrowserWindowAutomationPeer.cs
- RadioButtonList.cs
- ComEventsHelper.cs
- RegisteredDisposeScript.cs
- AtomParser.cs
- DataControlFieldTypeEditor.cs
- MulticastIPAddressInformationCollection.cs
- SQLMoney.cs
- DbXmlEnabledProviderManifest.cs
- InsufficientMemoryException.cs
- SqlTriggerAttribute.cs
- FactoryRecord.cs
- DataView.cs
- TextShapeableCharacters.cs
- OptimizedTemplateContentHelper.cs
- Ops.cs
- LabelEditEvent.cs
- DSACryptoServiceProvider.cs
- StringValueSerializer.cs
- UrlMappingsSection.cs
- HtmlButton.cs
- GridViewDeletedEventArgs.cs
- FigureParaClient.cs
- TextTreePropertyUndoUnit.cs
- StdValidatorsAndConverters.cs
- TextEncodedRawTextWriter.cs
- Cursors.cs
- DelegatedStream.cs
- AuthenticateEventArgs.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- XmlIterators.cs
- Configuration.cs
- AsnEncodedData.cs
- Effect.cs
- Object.cs
- ProcessModuleDesigner.cs
- AuthorizationSection.cs
- GenericUriParser.cs
- KerberosTicketHashIdentifierClause.cs
- GridProviderWrapper.cs
- CleanUpVirtualizedItemEventArgs.cs
- MdImport.cs
- ApplicationProxyInternal.cs
- ExceptionValidationRule.cs
- StateRuntime.cs
- RequestQueryProcessor.cs
- StringReader.cs
- TransformPattern.cs
- LinkLabelLinkClickedEvent.cs
- ArraySet.cs
- Attributes.cs
- RewritingSimplifier.cs
- CurrencyWrapper.cs
- WindowVisualStateTracker.cs
- SettingsPropertyValueCollection.cs
- Vector3dCollection.cs
- TdsParserSessionPool.cs
- CodeDesigner.cs
- UnaryNode.cs
- HitTestParameters.cs
- Matrix3DStack.cs
- ParsedRoute.cs
- InstanceData.cs
- GenericPrincipal.cs
- dbdatarecord.cs
- UnionExpr.cs
- ConnectionManagementSection.cs
- DirectionalLight.cs
- TCPClient.cs
- SourceFileBuildProvider.cs
- Cursor.cs
- GlyphRunDrawing.cs
- BooleanExpr.cs
- ConfigurationManagerHelper.cs
- ValueQuery.cs
- SendKeys.cs
- TitleStyle.cs
- SignatureDescription.cs
- DurableDispatcherAddressingFault.cs
- DataServiceQueryContinuation.cs
- OracleTimeSpan.cs
- FormViewDeleteEventArgs.cs
- XmlNodeComparer.cs
- Funcletizer.cs
- SHA512Managed.cs
- IIS7WorkerRequest.cs
- EventMetadata.cs
- Operator.cs
- AdvancedBindingEditor.cs
- RelationalExpressions.cs
- DirectoryObjectSecurity.cs
- ManualResetEvent.cs
- TreeNodeStyle.cs