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
- RuntimeTrackingProfile.cs
- NativeMethods.cs
- CodeMethodInvokeExpression.cs
- StreamGeometryContext.cs
- ToolStripDropDownClosingEventArgs.cs
- OrCondition.cs
- XmlElementList.cs
- StateWorkerRequest.cs
- TransportSecurityHelpers.cs
- PlainXmlWriter.cs
- FormViewCommandEventArgs.cs
- InputScopeAttribute.cs
- PropertyRef.cs
- DefaultParameterValueAttribute.cs
- SqlCommandSet.cs
- XmlSchemaGroup.cs
- NameValueCollection.cs
- NamespaceList.cs
- SendMessageContent.cs
- DateTimeOffsetStorage.cs
- StringResourceManager.cs
- TriState.cs
- ProgressBar.cs
- Query.cs
- TimersDescriptionAttribute.cs
- CqlGenerator.cs
- SoapClientProtocol.cs
- Triplet.cs
- AssemblyHash.cs
- ToolboxDataAttribute.cs
- SymbolPair.cs
- SQLDateTime.cs
- OdbcCommand.cs
- DESCryptoServiceProvider.cs
- Slider.cs
- CharUnicodeInfo.cs
- Logging.cs
- ChannelOptions.cs
- PropertyGridView.cs
- ScrollPatternIdentifiers.cs
- ModelTreeEnumerator.cs
- PtsCache.cs
- ScrollViewerAutomationPeer.cs
- DesignTimeTemplateParser.cs
- NaturalLanguageHyphenator.cs
- Dispatcher.cs
- CacheEntry.cs
- ImplicitInputBrush.cs
- InputEventArgs.cs
- MemberListBinding.cs
- LogLogRecordEnumerator.cs
- ActivationServices.cs
- Listbox.cs
- CodeThrowExceptionStatement.cs
- LowerCaseStringConverter.cs
- SqlCommandSet.cs
- ManagementObject.cs
- TdsParserStateObject.cs
- EncoderParameter.cs
- Psha1DerivedKeyGenerator.cs
- ProfilePropertyMetadata.cs
- ColumnMapVisitor.cs
- dataprotectionpermissionattribute.cs
- MessageRpc.cs
- WebPartsPersonalizationAuthorization.cs
- QuestionEventArgs.cs
- CopyNamespacesAction.cs
- SettingsSavedEventArgs.cs
- ManagedWndProcTracker.cs
- ViewManager.cs
- HttpResponseMessageProperty.cs
- WindowsToolbarItemAsMenuItem.cs
- RunWorkerCompletedEventArgs.cs
- ContentElement.cs
- _AutoWebProxyScriptWrapper.cs
- LZCodec.cs
- SharedStatics.cs
- Opcode.cs
- ScriptManager.cs
- ToolStripScrollButton.cs
- TokenBasedSetEnumerator.cs
- GPPOINTF.cs
- DeflateStream.cs
- TableLayoutSettingsTypeConverter.cs
- CodeDomConfigurationHandler.cs
- FixedTextView.cs
- WindowsAuthenticationEventArgs.cs
- Attributes.cs
- ScrollEvent.cs
- HttpWebResponse.cs
- DataObject.cs
- RightsManagementEncryptionTransform.cs
- Brush.cs
- RoutedPropertyChangedEventArgs.cs
- ApplicationSettingsBase.cs
- DataSet.cs
- WeakHashtable.cs
- TraversalRequest.cs
- _Win32.cs
- TargetControlTypeAttribute.cs