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;
///
///
/// A collection that stores objects.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeParameterDeclarationExpressionCollection : CollectionBase {
///
///
/// Initializes a new instance of .
///
///
public CodeParameterDeclarationExpressionCollection() {
}
///
///
/// Initializes a new instance of based on another .
///
///
public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) {
this.AddRange(value);
}
///
///
/// Initializes a new instance of containing any array of objects.
///
///
public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) {
this.AddRange(value);
}
///
/// Represents the entry at the specified index of the .
///
public CodeParameterDeclarationExpression this[int index] {
get {
return ((CodeParameterDeclarationExpression)(List[index]));
}
set {
List[index] = value;
}
}
///
/// Adds a with the specified value to the
/// .
///
public int Add(CodeParameterDeclarationExpression value) {
return List.Add(value);
}
///
/// Copies the elements of an array to the end of 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]);
}
}
///
///
/// Adds the contents of another to the end of the collection.
///
///
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]);
}
}
///
/// Gets a value indicating whether the
/// contains the specified .
///
public bool Contains(CodeParameterDeclarationExpression value) {
return List.Contains(value);
}
///
/// Copies the values to a one-dimensional instance at the
/// specified index.
///
public void CopyTo(CodeParameterDeclarationExpression[] array, int index) {
List.CopyTo(array, index);
}
///
/// Returns the index of a in
/// the .
///
public int IndexOf(CodeParameterDeclarationExpression value) {
return List.IndexOf(value);
}
///
/// Inserts a into the at the specified index.
///
public void Insert(int index, CodeParameterDeclarationExpression value) {
List.Insert(index, value);
}
///
/// Removes a specific from the
/// .
///
public void Remove(CodeParameterDeclarationExpression value) {
List.Remove(value);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ByteStreamGeometryContext.cs
- DocumentOrderQuery.cs
- KnownTypesProvider.cs
- Stream.cs
- RankException.cs
- StyleModeStack.cs
- MonikerHelper.cs
- OwnerDrawPropertyBag.cs
- AllowedAudienceUriElementCollection.cs
- RequestContextBase.cs
- ImageListUtils.cs
- TableRowCollection.cs
- FixedTextPointer.cs
- DataGridCellItemAutomationPeer.cs
- CredentialSelector.cs
- CqlIdentifiers.cs
- RoutedEventHandlerInfo.cs
- Calendar.cs
- LayoutManager.cs
- TextTreeTextBlock.cs
- FieldToken.cs
- TextModifierScope.cs
- DeferredTextReference.cs
- DragStartedEventArgs.cs
- XsltArgumentList.cs
- FieldToken.cs
- MouseEventArgs.cs
- TemplateEditingService.cs
- QueryCoreOp.cs
- FragmentQueryProcessor.cs
- SafeNativeMethods.cs
- ObjectNotFoundException.cs
- Transform.cs
- SHA256.cs
- WinCategoryAttribute.cs
- EventTrigger.cs
- DrawingContext.cs
- ResourceReferenceExpression.cs
- ListViewCommandEventArgs.cs
- XmlNamespaceManager.cs
- ZipIOLocalFileDataDescriptor.cs
- Latin1Encoding.cs
- SchemaDeclBase.cs
- QualificationDataItem.cs
- BufferedWebEventProvider.cs
- PropertyTabChangedEvent.cs
- EmbeddedMailObject.cs
- FontConverter.cs
- DataSetUtil.cs
- shaperfactoryquerycacheentry.cs
- LineGeometry.cs
- DoubleStorage.cs
- CompositionDesigner.cs
- DelimitedListTraceListener.cs
- StateRuntime.cs
- DataGridRowAutomationPeer.cs
- Int32RectConverter.cs
- Item.cs
- ISessionStateStore.cs
- ObjectDataSourceStatusEventArgs.cs
- TransformerTypeCollection.cs
- TrackingDataItem.cs
- DesignerTransaction.cs
- DynamicValidator.cs
- TimeSpanMinutesConverter.cs
- ContainerSelectorActiveEvent.cs
- EnumType.cs
- Evaluator.cs
- ThreadPool.cs
- RefExpr.cs
- InstanceHandle.cs
- DictationGrammar.cs
- TransformerInfo.cs
- System.Data.OracleClient_BID.cs
- ModelTreeEnumerator.cs
- GenericWebPart.cs
- SafeWaitHandle.cs
- Vector3DValueSerializer.cs
- InfoCardKeyedHashAlgorithm.cs
- QuarticEase.cs
- ValidationUtility.cs
- DisplayNameAttribute.cs
- BuildProviderCollection.cs
- WebControlsSection.cs
- CodeTypeMemberCollection.cs
- Manipulation.cs
- EventProviderWriter.cs
- Exceptions.cs
- SwitchElementsCollection.cs
- Registry.cs
- SaveFileDialog.cs
- PolicyUtility.cs
- StylusPlugin.cs
- StreamDocument.cs
- AssemblyInfo.cs
- StateMachineDesignerPaint.cs
- WaitForChangedResult.cs
- TemplatedWizardStep.cs
- Control.cs
- GeometryDrawing.cs