Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeDeclarationCollection.cs / 1305376 / CodeTypeDeclarationCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeDeclarationCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeTypeDeclarationCollection() { } ////// Initializes a new instance of ///. /// /// public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeTypeDeclarationCollection(CodeTypeDeclaration[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeTypeDeclaration this[int index] { get { return ((CodeTypeDeclaration)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeTypeDeclaration value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeTypeDeclaration[] 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(CodeTypeDeclarationCollection 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(CodeTypeDeclaration value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeTypeDeclaration[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeTypeDeclaration value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeTypeDeclaration value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeTypeDeclaration 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
- XmlElementAttribute.cs
- Renderer.cs
- ZipIORawDataFileBlock.cs
- PropertyIDSet.cs
- VerticalAlignConverter.cs
- Socket.cs
- PageThemeCodeDomTreeGenerator.cs
- ObjectAnimationBase.cs
- XamlToRtfParser.cs
- BuilderElements.cs
- TemplateBaseAction.cs
- DragStartedEventArgs.cs
- PersonalizablePropertyEntry.cs
- TimeoutValidationAttribute.cs
- OletxVolatileEnlistment.cs
- FrameworkReadOnlyPropertyMetadata.cs
- WebBaseEventKeyComparer.cs
- AuthorizationSection.cs
- TableDetailsCollection.cs
- remotingproxy.cs
- WebServiceErrorEvent.cs
- DetailsViewInsertEventArgs.cs
- XmlReflectionImporter.cs
- EncryptRequest.cs
- AppManager.cs
- DocobjHost.cs
- CorrelationManager.cs
- ImageListImage.cs
- EncryptedXml.cs
- Int64AnimationUsingKeyFrames.cs
- TextServicesCompartmentContext.cs
- InvalidCastException.cs
- ScrollBar.cs
- StsCommunicationException.cs
- ComplusTypeValidator.cs
- AmbientProperties.cs
- AssemblyInfo.cs
- SmtpNtlmAuthenticationModule.cs
- CqlBlock.cs
- RouteValueDictionary.cs
- IndividualDeviceConfig.cs
- WinInet.cs
- HierarchicalDataSourceIDConverter.cs
- RevocationPoint.cs
- JoinCqlBlock.cs
- CreateInstanceBinder.cs
- InertiaTranslationBehavior.cs
- ToolStripDropDown.cs
- XmlElementAttributes.cs
- DocumentXmlWriter.cs
- EventProviderBase.cs
- UInt16Converter.cs
- FontSourceCollection.cs
- AutomationPeer.cs
- FaultReason.cs
- SpecularMaterial.cs
- FormViewInsertEventArgs.cs
- RepeaterItem.cs
- CultureNotFoundException.cs
- PackageDigitalSignatureManager.cs
- WSHttpSecurityElement.cs
- CodeIdentifiers.cs
- SqlTypeConverter.cs
- DataKeyCollection.cs
- CodeNamespaceImport.cs
- ConsoleEntryPoint.cs
- AnnotationResource.cs
- DesignerHierarchicalDataSourceView.cs
- PtsContext.cs
- CodeExpressionCollection.cs
- DesignerWidgets.cs
- PageVisual.cs
- StringAnimationBase.cs
- SolidBrush.cs
- AnimationTimeline.cs
- StoreItemCollection.Loader.cs
- SourceFilter.cs
- DataListItemCollection.cs
- TextDecoration.cs
- ReflectTypeDescriptionProvider.cs
- PeerTransportSecuritySettings.cs
- ToolStripGrip.cs
- WsdlBuildProvider.cs
- CompiledQueryCacheEntry.cs
- WebBrowserNavigatingEventHandler.cs
- CodePropertyReferenceExpression.cs
- WebRequestModuleElementCollection.cs
- OleDbCommandBuilder.cs
- OuterProxyWrapper.cs
- SoapTypeAttribute.cs
- ResourceSetExpression.cs
- RawStylusActions.cs
- Screen.cs
- InputLanguageEventArgs.cs
- WebBrowser.cs
- PermissionAttributes.cs
- EnumType.cs
- ProviderBase.cs
- ConfigurationStrings.cs
- HtmlInputReset.cs