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; ////// [ 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
- MultiBindingExpression.cs
- FederatedMessageSecurityOverHttpElement.cs
- CategoryNameCollection.cs
- UpdatePanelTrigger.cs
- MemberHolder.cs
- webeventbuffer.cs
- WizardPanel.cs
- XmlDownloadManager.cs
- XmlSchemaObjectCollection.cs
- LogManagementAsyncResult.cs
- LinearKeyFrames.cs
- SystemIPv4InterfaceProperties.cs
- UInt16.cs
- coordinatorfactory.cs
- BitmapEffectInput.cs
- DbProviderFactories.cs
- GridViewSelectEventArgs.cs
- MasterPage.cs
- PointUtil.cs
- Normalization.cs
- ReadOnlyDataSource.cs
- CoreSwitches.cs
- DrawingAttributesDefaultValueFactory.cs
- CachedPathData.cs
- ApplicationTrust.cs
- PersonalizationProvider.cs
- XomlDesignerLoader.cs
- DataGridViewColumnTypePicker.cs
- InputMethodStateChangeEventArgs.cs
- sqlpipe.cs
- DataBindingCollection.cs
- DbFunctionCommandTree.cs
- ProfileProvider.cs
- InputEventArgs.cs
- compensatingcollection.cs
- TextServicesManager.cs
- BatchServiceHost.cs
- Queue.cs
- Constraint.cs
- TextTreeExtractElementUndoUnit.cs
- FileDialog_Vista.cs
- ObjectDataSourceStatusEventArgs.cs
- Restrictions.cs
- GestureRecognitionResult.cs
- TextElementAutomationPeer.cs
- HtmlInputHidden.cs
- NonPrimarySelectionGlyph.cs
- TopClause.cs
- DataServiceRequestException.cs
- ContainerActivationHelper.cs
- Operand.cs
- StorageComplexTypeMapping.cs
- StylusPointPropertyId.cs
- WebBrowserBase.cs
- WorkflowApplicationException.cs
- odbcmetadatafactory.cs
- StateItem.cs
- DataServiceHostFactory.cs
- ResourceKey.cs
- ConcurrentStack.cs
- EntityViewGenerator.cs
- ExpressionNormalizer.cs
- QilTernary.cs
- OLEDB_Util.cs
- followingquery.cs
- SmiMetaData.cs
- PageScaling.cs
- ThaiBuddhistCalendar.cs
- IdentityReference.cs
- ReflectTypeDescriptionProvider.cs
- NamespaceQuery.cs
- MediaElement.cs
- PerformanceCounterCategory.cs
- KeyConstraint.cs
- SqlVersion.cs
- SignatureGenerator.cs
- ItemDragEvent.cs
- FunctionDescription.cs
- ThreadPool.cs
- TransformDescriptor.cs
- SelectionListDesigner.cs
- ConfigurationSection.cs
- wmiprovider.cs
- NavigationService.cs
- XamlClipboardData.cs
- WorkItem.cs
- BatchStream.cs
- NamedPipeChannelFactory.cs
- Keywords.cs
- OrderedEnumerableRowCollection.cs
- KeyPullup.cs
- WebSysDefaultValueAttribute.cs
- XmlSerializerNamespaces.cs
- CharKeyFrameCollection.cs
- counter.cs
- DelegateArgumentValue.cs
- SafeViewOfFileHandle.cs
- PersonalizationDictionary.cs
- UnicastIPAddressInformationCollection.cs
- WebRequestModuleElementCollection.cs