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
- StrongNameKeyPair.cs
- ObjectDataSourceMethodEventArgs.cs
- DispatcherExceptionFilterEventArgs.cs
- InProcStateClientManager.cs
- MimeTypePropertyAttribute.cs
- SubclassTypeValidatorAttribute.cs
- EditableTreeList.cs
- CorrelationManager.cs
- PluralizationServiceUtil.cs
- ToolboxItemAttribute.cs
- SqlMultiplexer.cs
- FolderBrowserDialogDesigner.cs
- NetworkInformationPermission.cs
- PropertyGridView.cs
- ClientProtocol.cs
- RemotingHelper.cs
- MergablePropertyAttribute.cs
- MsmqReceiveHelper.cs
- _UriTypeConverter.cs
- webclient.cs
- PointAnimationUsingPath.cs
- OdbcCommand.cs
- ComponentConverter.cs
- DescendantBaseQuery.cs
- NotSupportedException.cs
- GlyphManager.cs
- GridViewUpdateEventArgs.cs
- BuildManager.cs
- StrokeNodeOperations2.cs
- SqlClientFactory.cs
- XamlDebuggerXmlReader.cs
- ServiceEndpointElement.cs
- TempEnvironment.cs
- DataPointer.cs
- Compress.cs
- Keyboard.cs
- IsolationInterop.cs
- AutoSizeToolBoxItem.cs
- BulletDecorator.cs
- SafePipeHandle.cs
- ThemeDictionaryExtension.cs
- WindowsNonControl.cs
- objectresult_tresulttype.cs
- ScriptRef.cs
- Message.cs
- CollectionView.cs
- GridPatternIdentifiers.cs
- ConsoleCancelEventArgs.cs
- RemoteWebConfigurationHost.cs
- Win32.cs
- _AuthenticationState.cs
- LinkLabelLinkClickedEvent.cs
- SqlUtils.cs
- CodeDelegateInvokeExpression.cs
- EndpointAddressMessageFilter.cs
- XhtmlBasicLiteralTextAdapter.cs
- ScrollChrome.cs
- WebProxyScriptElement.cs
- MultilineStringConverter.cs
- FontStretches.cs
- EntityDataSourceSelectedEventArgs.cs
- ProjectionPlan.cs
- SignatureGenerator.cs
- DateTimeOffset.cs
- Compensation.cs
- DbDataRecord.cs
- TimeSpanSecondsConverter.cs
- PseudoWebRequest.cs
- ColumnHeaderConverter.cs
- PreviewPageInfo.cs
- cookiecontainer.cs
- BrowserDefinitionCollection.cs
- KnownBoxes.cs
- CompositeFontInfo.cs
- ServiceReference.cs
- FunctionDetailsReader.cs
- AsyncOperationManager.cs
- SrgsDocumentParser.cs
- EnvironmentPermission.cs
- HandlerBase.cs
- SingleConverter.cs
- SamlAuthorityBinding.cs
- RecordsAffectedEventArgs.cs
- StateManagedCollection.cs
- SqlOuterApplyReducer.cs
- SynchronousChannel.cs
- DataTableClearEvent.cs
- Msmq3PoisonHandler.cs
- ParameterBuilder.cs
- RenderOptions.cs
- SessionStateModule.cs
- webbrowsersite.cs
- XMLSchema.cs
- Triplet.cs
- BufferBuilder.cs
- ContainerParagraph.cs
- PropertyHelper.cs
- TypeExtensionConverter.cs
- TraceListener.cs
- Bezier.cs