Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //Removes a specific ///from the /// . // 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Removes a specific ///from the /// .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListControlConvertEventArgs.cs
- FamilyTypefaceCollection.cs
- RowVisual.cs
- ReversePositionQuery.cs
- SqlXmlStorage.cs
- SchemaNotation.cs
- DetailsView.cs
- IsolatedStorageFilePermission.cs
- BehaviorEditorPart.cs
- CodeDomSerializerException.cs
- PropertyDescriptorGridEntry.cs
- RenamedEventArgs.cs
- ThrowHelper.cs
- ControlFilterExpression.cs
- MarkupExtensionParser.cs
- HtmlInputPassword.cs
- XmlBinaryReader.cs
- DurableOperationAttribute.cs
- Int64KeyFrameCollection.cs
- RetrieveVirtualItemEventArgs.cs
- WindowsIPAddress.cs
- CapabilitiesUse.cs
- HitTestWithGeometryDrawingContextWalker.cs
- OpenCollectionAsyncResult.cs
- WindowsPrincipal.cs
- SocketPermission.cs
- ToolboxDataAttribute.cs
- LinearGradientBrush.cs
- SafePEFileHandle.cs
- EtwProvider.cs
- C14NUtil.cs
- PropertyCollection.cs
- Localizer.cs
- AdRotatorDesigner.cs
- _Rfc2616CacheValidators.cs
- SapiRecoContext.cs
- HostExecutionContextManager.cs
- BuildProvider.cs
- InstanceDataCollectionCollection.cs
- FrameworkContentElement.cs
- DataTransferEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- OleAutBinder.cs
- SplitContainer.cs
- MonthChangedEventArgs.cs
- DoWorkEventArgs.cs
- PipelineModuleStepContainer.cs
- HttpUnhandledOperationInvoker.cs
- SqlResolver.cs
- TcpHostedTransportConfiguration.cs
- AsymmetricKeyExchangeDeformatter.cs
- XmlDataSourceView.cs
- ProtocolsConfigurationEntry.cs
- DbXmlEnabledProviderManifest.cs
- StaticExtension.cs
- HtmlValidatorAdapter.cs
- ContentValidator.cs
- AnimationTimeline.cs
- AnnotationService.cs
- QilPatternVisitor.cs
- SwitchElementsCollection.cs
- translator.cs
- XmlDataContract.cs
- HTMLTextWriter.cs
- DataControlField.cs
- SecurityTokenTypes.cs
- TraceLevelStore.cs
- DLinqAssociationProvider.cs
- XmlSchemaExporter.cs
- TemplateParser.cs
- ButtonFlatAdapter.cs
- TextContainerChangedEventArgs.cs
- FamilyMap.cs
- FormViewUpdatedEventArgs.cs
- NetSectionGroup.cs
- SystemShuttingDownException.cs
- ParameterReplacerVisitor.cs
- WebMessageEncoderFactory.cs
- FixedSOMFixedBlock.cs
- _NetRes.cs
- ThreadExceptionDialog.cs
- HtmlTextArea.cs
- OracleCommandBuilder.cs
- SequenceFullException.cs
- XmlCompatibilityReader.cs
- EnlistmentTraceIdentifier.cs
- RuntimeArgumentHandle.cs
- TimeIntervalCollection.cs
- ProfileInfo.cs
- ActiveXHost.cs
- CustomCredentialPolicy.cs
- PhysicalFontFamily.cs
- ApplicationSecurityInfo.cs
- XmlSerializerVersionAttribute.cs
- HScrollBar.cs
- DesignerView.xaml.cs
- IResourceProvider.cs
- XdrBuilder.cs
- MessageAction.cs
- DesignRelationCollection.cs