Code:
/ FX-1434 / FX-1434 / 1.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
- TextSelection.cs
- MachineKeySection.cs
- ListBase.cs
- CheckBox.cs
- Link.cs
- ProtocolsConfiguration.cs
- ObjectView.cs
- XmlSchemaAttributeGroupRef.cs
- AdapterUtil.cs
- ParameterToken.cs
- HostedTcpTransportManager.cs
- DES.cs
- ErrorHandler.cs
- FlagsAttribute.cs
- SqlDataSourceEnumerator.cs
- EdmTypeAttribute.cs
- HybridDictionary.cs
- EntityProxyTypeInfo.cs
- BaseHashHelper.cs
- ObjectItemConventionAssemblyLoader.cs
- X509Utils.cs
- SuppressMessageAttribute.cs
- InstanceCompleteException.cs
- PrtCap_Public.cs
- CompilerParameters.cs
- LinqDataSourceInsertEventArgs.cs
- FrameworkObject.cs
- StylusDownEventArgs.cs
- ArrayConverter.cs
- IEnumerable.cs
- NamespaceInfo.cs
- DrawingAttributesDefaultValueFactory.cs
- Metafile.cs
- XmlSchemaGroup.cs
- EditorZone.cs
- JsonStringDataContract.cs
- NoPersistScope.cs
- Sequence.cs
- MailAddressParser.cs
- ProfileService.cs
- CommentEmitter.cs
- ThreadBehavior.cs
- sqlstateclientmanager.cs
- GlobalizationAssembly.cs
- SrgsGrammar.cs
- DataPointer.cs
- ManipulationCompletedEventArgs.cs
- AccessorTable.cs
- XmlWriterSettings.cs
- Identifier.cs
- ActionNotSupportedException.cs
- SamlAction.cs
- ClientUtils.cs
- GetLedgerEntryForRecipientRequest.cs
- BamlTreeUpdater.cs
- MimeObjectFactory.cs
- CodeSnippetExpression.cs
- DataListItemEventArgs.cs
- AxWrapperGen.cs
- ParameterCollectionEditorForm.cs
- LostFocusEventManager.cs
- ClockGroup.cs
- UniqueIdentifierService.cs
- AmbientLight.cs
- SapiRecognizer.cs
- NativeCompoundFileAPIs.cs
- SerializationBinder.cs
- SecurityResources.cs
- EntityViewGenerationAttribute.cs
- DbConnectionPoolIdentity.cs
- ByteBufferPool.cs
- TextTreeObjectNode.cs
- GeneralTransform3DTo2DTo3D.cs
- ToolStripLabel.cs
- ReadingWritingEntityEventArgs.cs
- DbParameterCollectionHelper.cs
- ObjectConverter.cs
- AtomContentProperty.cs
- GridViewRowCollection.cs
- ControlBuilder.cs
- DetailsViewRowCollection.cs
- ArraySubsetEnumerator.cs
- FixedSOMTable.cs
- NameObjectCollectionBase.cs
- XmlBaseReader.cs
- IHttpResponseInternal.cs
- FieldNameLookup.cs
- SerializationFieldInfo.cs
- LicenseManager.cs
- ApplicationId.cs
- _TimerThread.cs
- TargetInvocationException.cs
- SocketElement.cs
- BrowserTree.cs
- TreeNodeBinding.cs
- SqlRewriteScalarSubqueries.cs
- HTMLTagNameToTypeMapper.cs
- WorkflowServiceOperationListItem.cs
- ConfigurationSectionGroup.cs
- MappingSource.cs