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
- GcSettings.cs
- MarshalByValueComponent.cs
- CalendarDesigner.cs
- ContextMenuStrip.cs
- _OverlappedAsyncResult.cs
- FontUnitConverter.cs
- ButtonBase.cs
- XmlEntity.cs
- IpcServerChannel.cs
- AsyncStreamReader.cs
- ManagementDateTime.cs
- CompositionTarget.cs
- TransformGroup.cs
- QilTargetType.cs
- SystemWebSectionGroup.cs
- PolicyManager.cs
- EntityDataSourceConfigureObjectContext.cs
- EntityDataSourceChangedEventArgs.cs
- ReadOnlyDataSource.cs
- JsonFormatWriterGenerator.cs
- PageRequestManager.cs
- DBNull.cs
- DataGridViewCellParsingEventArgs.cs
- CodeIterationStatement.cs
- ParseElement.cs
- DrawingContextDrawingContextWalker.cs
- Number.cs
- ListenerConfig.cs
- NativeWindow.cs
- NullReferenceException.cs
- PropertyTab.cs
- CryptoApi.cs
- XPathLexer.cs
- SqlConnectionStringBuilder.cs
- OleDbException.cs
- UniqueContractNameValidationBehavior.cs
- DbConnectionStringCommon.cs
- LoadWorkflowByInstanceKeyCommand.cs
- ComPlusDiagnosticTraceSchemas.cs
- DataColumnPropertyDescriptor.cs
- Path.cs
- XmlSchemaNotation.cs
- ColorConvertedBitmap.cs
- WebZone.cs
- ScrollProperties.cs
- ServiceEndpointElementCollection.cs
- ModelItemImpl.cs
- HtmlInputHidden.cs
- ControlValuePropertyAttribute.cs
- UnknownWrapper.cs
- DesignerView.Commands.cs
- ObjectSelectorEditor.cs
- FunctionCommandText.cs
- ObjectDataSourceView.cs
- InstanceDataCollectionCollection.cs
- SynchronizationContext.cs
- ThemeConfigurationDialog.cs
- PropertyDescriptorComparer.cs
- SendKeys.cs
- Int64.cs
- NavigationProperty.cs
- _LocalDataStoreMgr.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- WindowsProgressbar.cs
- VisualStateGroup.cs
- UniqueIdentifierService.cs
- FileLevelControlBuilderAttribute.cs
- EntityKey.cs
- MessageContractMemberAttribute.cs
- DataGridViewCell.cs
- _BufferOffsetSize.cs
- IPCCacheManager.cs
- PageCatalogPart.cs
- DateTimeValueSerializer.cs
- DSACryptoServiceProvider.cs
- RegexRunner.cs
- Rotation3D.cs
- DrawListViewItemEventArgs.cs
- CounterSample.cs
- XsltException.cs
- ImageButton.cs
- Type.cs
- DoubleUtil.cs
- HashCodeCombiner.cs
- TextMarkerSource.cs
- TextLineResult.cs
- CheckBox.cs
- DataBoundControl.cs
- WindowsGraphics2.cs
- SqlBinder.cs
- ToolStripContentPanel.cs
- AsymmetricKeyExchangeFormatter.cs
- HandledEventArgs.cs
- DictationGrammar.cs
- OdbcParameter.cs
- WebPartCancelEventArgs.cs
- SystemInformation.cs
- GestureRecognizer.cs
- XamlInt32CollectionSerializer.cs
- DbInsertCommandTree.cs