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
- cryptoapiTransform.cs
- ComplexTypeEmitter.cs
- NetNamedPipeBindingElement.cs
- SqlErrorCollection.cs
- AuthorizationSection.cs
- SpecularMaterial.cs
- AssemblyFilter.cs
- LinearQuaternionKeyFrame.cs
- _NetRes.cs
- MyContact.cs
- TextContainerHelper.cs
- SchemaComplexType.cs
- __ConsoleStream.cs
- Animatable.cs
- Int16Storage.cs
- PersonalizationStateQuery.cs
- AutomationElement.cs
- ScalarType.cs
- HttpProcessUtility.cs
- EllipseGeometry.cs
- XmlHierarchyData.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EntityDataSourceDataSelection.cs
- MultiAsyncResult.cs
- EntryPointNotFoundException.cs
- UniformGrid.cs
- ObjectPersistData.cs
- XmlBinaryReader.cs
- EditorAttributeInfo.cs
- EditorPart.cs
- WebControlAdapter.cs
- PeerCollaborationPermission.cs
- httpstaticobjectscollection.cs
- ExpressionNormalizer.cs
- ClientConvert.cs
- MessageDecoder.cs
- AssemblyName.cs
- XmlNodeReader.cs
- TemplateManager.cs
- CharConverter.cs
- ListViewCommandEventArgs.cs
- SchemaCreator.cs
- GridLength.cs
- XmlSchemaAttributeGroupRef.cs
- DbTransaction.cs
- DesignerVerb.cs
- _ConnectStream.cs
- PrintPreviewControl.cs
- TypeDelegator.cs
- NetNamedPipeSecurityMode.cs
- FixUp.cs
- Timer.cs
- PerformanceCounter.cs
- XmlWrappingReader.cs
- PrePrepareMethodAttribute.cs
- SystemUnicastIPAddressInformation.cs
- TextPattern.cs
- ComponentManagerBroker.cs
- UshortList2.cs
- QilReference.cs
- XmlSchemaGroupRef.cs
- XsltInput.cs
- XPathSingletonIterator.cs
- ListViewAutomationPeer.cs
- PropertiesTab.cs
- CollectionViewProxy.cs
- AppLevelCompilationSectionCache.cs
- AnnotationStore.cs
- DataGridViewBindingCompleteEventArgs.cs
- ViewStateModeByIdAttribute.cs
- SqlStream.cs
- NameValueConfigurationElement.cs
- RightsManagementPermission.cs
- Soap.cs
- Logging.cs
- SignatureResourceHelper.cs
- PermissionAttributes.cs
- UpdatableGenericsFeature.cs
- RootBuilder.cs
- TabPanel.cs
- Encoder.cs
- WmpBitmapEncoder.cs
- BitmapInitialize.cs
- ChainedAsyncResult.cs
- MissingFieldException.cs
- Identity.cs
- HostingEnvironmentWrapper.cs
- Process.cs
- FontInfo.cs
- TransformerInfo.cs
- ZipIOExtraField.cs
- TextParagraphView.cs
- UrlPropertyAttribute.cs
- ActivationServices.cs
- ConstructorArgumentAttribute.cs
- SemanticResultKey.cs
- SigningCredentials.cs
- CodeThrowExceptionStatement.cs
- InvalidWMPVersionException.cs
- HelpEvent.cs