Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpressionCollection.cs / 1 / CodeParameterDeclarationExpressionCollection.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 CodeParameterDeclarationExpressionCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeParameterDeclarationExpressionCollection() { } ////// Initializes a new instance of ///. /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeParameterDeclarationExpression this[int index] { get { return ((CodeParameterDeclarationExpression)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeParameterDeclarationExpression value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeParameterDeclarationExpression[] 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(CodeParameterDeclarationExpressionCollection 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(CodeParameterDeclarationExpression value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeParameterDeclarationExpression value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeParameterDeclarationExpression value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeParameterDeclarationExpression 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
- CryptoApi.cs
- AutomationEventArgs.cs
- SingleAnimationUsingKeyFrames.cs
- VectorAnimation.cs
- PersonalizationDictionary.cs
- QueryServiceConfigHandle.cs
- __ConsoleStream.cs
- ApplicationTrust.cs
- TextEffectCollection.cs
- ManifestResourceInfo.cs
- DebugView.cs
- CheckBox.cs
- DetailsViewAutoFormat.cs
- DBConnectionString.cs
- NativeMethods.cs
- FormViewModeEventArgs.cs
- DuplicateDetector.cs
- QueryAccessibilityHelpEvent.cs
- ListControlDataBindingHandler.cs
- Point.cs
- ErrorCodes.cs
- Walker.cs
- Currency.cs
- _DomainName.cs
- ContextDataSource.cs
- Rect3D.cs
- Label.cs
- GridViewRowPresenterBase.cs
- MD5.cs
- BitmapEffectGroup.cs
- Pair.cs
- FastPropertyAccessor.cs
- PrivilegedConfigurationManager.cs
- SqlExpressionNullability.cs
- XmlSchemaImport.cs
- ScrollProviderWrapper.cs
- EventLogPermissionEntryCollection.cs
- HttpServerVarsCollection.cs
- MiniAssembly.cs
- MaterializeFromAtom.cs
- DelegateSerializationHolder.cs
- IndexedString.cs
- DataGridPreparingCellForEditEventArgs.cs
- XsdBuilder.cs
- Pair.cs
- ControlDesigner.cs
- DiscoveryMessageSequenceGenerator.cs
- Freezable.cs
- CodeDomConfigurationHandler.cs
- ExpressionBuilder.cs
- HwndKeyboardInputProvider.cs
- MessageEncodingBindingElement.cs
- CqlParserHelpers.cs
- SignatureResourceHelper.cs
- CallContext.cs
- XmlSignificantWhitespace.cs
- View.cs
- MappingMetadataHelper.cs
- ReceiveMessageRecord.cs
- Decoder.cs
- _LazyAsyncResult.cs
- QuadraticBezierSegment.cs
- SrgsElement.cs
- DecoderBestFitFallback.cs
- PictureBox.cs
- XmlElementAttributes.cs
- SecondaryIndex.cs
- WMICapabilities.cs
- XmlEntity.cs
- DataSourceHelper.cs
- AlphaSortedEnumConverter.cs
- ConnectivityStatus.cs
- XmlIterators.cs
- RequestedSignatureDialog.cs
- DoubleAnimationUsingPath.cs
- TickBar.cs
- HttpRawResponse.cs
- ConfigurationElement.cs
- VisualBasicDesignerHelper.cs
- ContainerUIElement3D.cs
- HandleCollector.cs
- PackagePartCollection.cs
- LocatorManager.cs
- SqlRecordBuffer.cs
- SHA256.cs
- GetIndexBinder.cs
- QueryContinueDragEventArgs.cs
- WorkflowOperationBehavior.cs
- AttachmentService.cs
- ControlPaint.cs
- GetPageCompletedEventArgs.cs
- KeyValuePairs.cs
- TargetInvocationException.cs
- CommandLibraryHelper.cs
- ScrollEventArgs.cs
- HandledEventArgs.cs
- Gdiplus.cs
- EventLogPermissionAttribute.cs
- ConfigurationValues.cs
- UInt32Converter.cs