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
- CheckableControlBaseAdapter.cs
- AutoScrollHelper.cs
- ImpersonationContext.cs
- SectionUpdates.cs
- PasswordBox.cs
- Accessors.cs
- WebFaultClientMessageInspector.cs
- DataGridViewColumnCollectionEditor.cs
- DataObjectAttribute.cs
- ComponentEditorForm.cs
- WebGetAttribute.cs
- ParameterCollection.cs
- SelectionProviderWrapper.cs
- WebPermission.cs
- InProcStateClientManager.cs
- ValidatorCompatibilityHelper.cs
- CngKeyCreationParameters.cs
- PeerContact.cs
- SelectionRange.cs
- RequestTimeoutManager.cs
- XmlFormatExtensionPointAttribute.cs
- AjaxFrameworkAssemblyAttribute.cs
- DispatchChannelSink.cs
- NullToBooleanConverter.cs
- SourceElementsCollection.cs
- MeasureData.cs
- ToolboxSnapDragDropEventArgs.cs
- DispatchChannelSink.cs
- UseLicense.cs
- XmlStreamNodeWriter.cs
- BrowserDefinitionCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- CodePropertyReferenceExpression.cs
- shaperfactoryquerycacheentry.cs
- RegionIterator.cs
- SqlWriter.cs
- ParseNumbers.cs
- GAC.cs
- ZeroOpNode.cs
- AdRotator.cs
- SerializationSectionGroup.cs
- SoapFormatExtensions.cs
- InstanceLockLostException.cs
- HttpDictionary.cs
- HtmlShim.cs
- CheckBoxRenderer.cs
- GestureRecognizer.cs
- Duration.cs
- ExternalException.cs
- FontNamesConverter.cs
- StringBuilder.cs
- ProfileParameter.cs
- ReadOnlyCollection.cs
- SizeLimitedCache.cs
- AmbientLight.cs
- DataGridViewSelectedColumnCollection.cs
- XmlReader.cs
- WindowsListViewGroupSubsetLink.cs
- TextServicesPropertyRanges.cs
- SqlDataSourceCommandEventArgs.cs
- DataServiceRequestOfT.cs
- EnumerableRowCollection.cs
- Switch.cs
- BitmapSourceSafeMILHandle.cs
- PermissionSet.cs
- IgnoreDataMemberAttribute.cs
- ScriptingJsonSerializationSection.cs
- CorrelationManager.cs
- MSAAEventDispatcher.cs
- WpfSharedXamlSchemaContext.cs
- FormatterServices.cs
- ConditionalAttribute.cs
- MatrixConverter.cs
- DecoderNLS.cs
- DragAssistanceManager.cs
- ObjectStateFormatter.cs
- SegmentInfo.cs
- Walker.cs
- AxisAngleRotation3D.cs
- HttpValueCollection.cs
- LayoutTable.cs
- Mapping.cs
- ColorTransform.cs
- LassoHelper.cs
- MetabaseServerConfig.cs
- CqlWriter.cs
- Stylus.cs
- StylusPlugin.cs
- MarkupExtensionParser.cs
- SimpleHandlerBuildProvider.cs
- PolyBezierSegmentFigureLogic.cs
- ItemChangedEventArgs.cs
- BeginEvent.cs
- LocationReferenceEnvironment.cs
- DodSequenceMerge.cs
- EntityViewContainer.cs
- SerializationSectionGroup.cs
- ByteArrayHelperWithString.cs
- QilReference.cs
- EventLogPermission.cs