Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgumentCollection.cs / 1 / CodeAttributeArgumentCollection.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 CodeAttributeArgumentCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeAttributeArgumentCollection() { } ////// Initializes a new instance of ///. /// /// public CodeAttributeArgumentCollection(CodeAttributeArgumentCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeAttributeArgumentCollection(CodeAttributeArgument[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeAttributeArgument this[int index] { get { return ((CodeAttributeArgument)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeAttributeArgument value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeAttributeArgument[] 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(CodeAttributeArgumentCollection 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(CodeAttributeArgument value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeAttributeArgument[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeAttributeArgument value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeAttributeArgument value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeAttributeArgument 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
- DesignerDataStoredProcedure.cs
- BaseCollection.cs
- PersonalizationProviderCollection.cs
- NavigateEvent.cs
- ResourcePool.cs
- XmlDataFileEditor.cs
- ComplexType.cs
- CategoryGridEntry.cs
- ChtmlLinkAdapter.cs
- Attributes.cs
- DBSchemaTable.cs
- _ListenerResponseStream.cs
- SettingsPropertyCollection.cs
- FactoryGenerator.cs
- StaticSiteMapProvider.cs
- ScrollPattern.cs
- OdbcPermission.cs
- VarRemapper.cs
- MsmqIntegrationBindingElement.cs
- TiffBitmapEncoder.cs
- LayoutEngine.cs
- ObjectItemNoOpAssemblyLoader.cs
- SqlBulkCopyColumnMapping.cs
- BufferAllocator.cs
- CatalogPartChrome.cs
- PartitionResolver.cs
- URI.cs
- CopyOfAction.cs
- HeaderUtility.cs
- PropertyMetadata.cs
- XmlObjectSerializerReadContextComplexJson.cs
- HandleCollector.cs
- SpellCheck.cs
- NameTable.cs
- BuildProviderAppliesToAttribute.cs
- CodeBlockBuilder.cs
- PointLight.cs
- Process.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DefaultValueMapping.cs
- TextServicesCompartmentEventSink.cs
- RepeatInfo.cs
- FunctionMappingTranslator.cs
- InputMethodStateChangeEventArgs.cs
- InternalBase.cs
- GridViewRowCollection.cs
- SafeHandle.cs
- DecimalConstantAttribute.cs
- AuthenticationManager.cs
- LocalClientSecuritySettingsElement.cs
- ListDesigner.cs
- OptimisticConcurrencyException.cs
- AuthenticationModuleElementCollection.cs
- ClassData.cs
- TemplateBuilder.cs
- ValuePattern.cs
- Vars.cs
- panel.cs
- KoreanCalendar.cs
- TextChange.cs
- HotSpot.cs
- DbLambda.cs
- ComponentDispatcherThread.cs
- Exception.cs
- EventlogProvider.cs
- Activator.cs
- UTF7Encoding.cs
- Pkcs9Attribute.cs
- _NTAuthentication.cs
- RegexCharClass.cs
- PointHitTestResult.cs
- ListCommandEventArgs.cs
- OutOfProcStateClientManager.cs
- FontFamily.cs
- WebPartCatalogCloseVerb.cs
- ToolStripRendererSwitcher.cs
- RegularExpressionValidator.cs
- TextBlock.cs
- SecurityElement.cs
- CryptoApi.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SecurityChannel.cs
- AutoGeneratedFieldProperties.cs
- WindowsGraphicsWrapper.cs
- Encoder.cs
- TextDocumentView.cs
- StringToken.cs
- Metadata.cs
- Predicate.cs
- PeerCollaborationPermission.cs
- Mapping.cs
- HtmlInputRadioButton.cs
- TrackingConditionCollection.cs
- LocalizableResourceBuilder.cs
- ObjectTokenCategory.cs
- Simplifier.cs
- X509RawDataKeyIdentifierClause.cs
- VirtualizedContainerService.cs
- AsyncMethodInvoker.cs
- ApplicationSecurityInfo.cs