Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpressionCollection.cs / 1305376 / 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);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DeviceContext2.cs
- UrlAuthorizationModule.cs
- Matrix3D.cs
- BitmapEncoder.cs
- Cursors.cs
- ColumnMapProcessor.cs
- IgnoreFlushAndCloseStream.cs
- MsmqSecureHashAlgorithm.cs
- SqlServer2KCompatibilityAnnotation.cs
- Focus.cs
- TypedElement.cs
- PresentationAppDomainManager.cs
- FontDifferentiator.cs
- LocalizationParserHooks.cs
- TextEffect.cs
- UrlMappingsModule.cs
- ComplexType.cs
- XmlEntity.cs
- AsnEncodedData.cs
- DbConnectionPoolCounters.cs
- DataServiceClientException.cs
- PropertyValueUIItem.cs
- EventProvider.cs
- WebPartsPersonalizationAuthorization.cs
- SqlVersion.cs
- DesignerOptionService.cs
- OrderPreservingPipeliningMergeHelper.cs
- PrincipalPermissionMode.cs
- StylusPointDescription.cs
- WindowsListBox.cs
- ExceptionValidationRule.cs
- TextMarkerSource.cs
- PropertyEmitter.cs
- DoubleAnimation.cs
- MultiTouchSystemGestureLogic.cs
- DBCommandBuilder.cs
- EntityRecordInfo.cs
- SessionEndingEventArgs.cs
- TemplateLookupAction.cs
- XmlAtomicValue.cs
- TokenCreationParameter.cs
- XmlSchemaAttributeGroupRef.cs
- IIS7UserPrincipal.cs
- Win32Native.cs
- GeneralTransformCollection.cs
- ListViewUpdatedEventArgs.cs
- PerformanceCountersElement.cs
- TraceContext.cs
- WsdlInspector.cs
- DataGridViewImageCell.cs
- ConfigViewGenerator.cs
- ColorDialog.cs
- RequestCachingSection.cs
- SymLanguageType.cs
- GestureRecognizer.cs
- ObjectConverter.cs
- BuildManager.cs
- AuthStoreRoleProvider.cs
- FunctionOverloadResolver.cs
- FontCollection.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TokenizerHelper.cs
- XdrBuilder.cs
- XmlAtomicValue.cs
- TemplatePartAttribute.cs
- Graph.cs
- SecurityStandardsManager.cs
- DetailsViewCommandEventArgs.cs
- ServiceDescriptionSerializer.cs
- TypefaceMap.cs
- PowerEase.cs
- ExecutionEngineException.cs
- SqlDataAdapter.cs
- BaseParser.cs
- Int32Converter.cs
- TypeUtil.cs
- OleDbCommandBuilder.cs
- MemoryStream.cs
- RangeBase.cs
- HtmlInputSubmit.cs
- BooleanFunctions.cs
- GB18030Encoding.cs
- TypeSemantics.cs
- MultiSelector.cs
- OrderByExpression.cs
- LinqDataSourceDeleteEventArgs.cs
- QilBinary.cs
- ConfigurationElement.cs
- FontCollection.cs
- ActivityWithResultConverter.cs
- DataGridViewRowPrePaintEventArgs.cs
- StreamingContext.cs
- FixedSOMPageConstructor.cs
- ControllableStoryboardAction.cs
- SpellCheck.cs
- safelinkcollection.cs
- ConfigurationPermission.cs
- ColumnResizeUndoUnit.cs
- HttpCapabilitiesBase.cs
- DataGridState.cs