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
- FrameworkRichTextComposition.cs
- PopOutPanel.cs
- EventSinkHelperWriter.cs
- ConstNode.cs
- ControlCachePolicy.cs
- ContextStack.cs
- uribuilder.cs
- InvokeAction.cs
- ResXResourceReader.cs
- TdsParser.cs
- EventMap.cs
- BigIntegerStorage.cs
- BaseDataBoundControlDesigner.cs
- LocalizableResourceBuilder.cs
- SqlConnectionHelper.cs
- Msmq4SubqueuePoisonHandler.cs
- Select.cs
- FileDialog.cs
- SkipStoryboardToFill.cs
- LocalizeDesigner.cs
- Bits.cs
- MetadataUtilsSmi.cs
- DateTimeValueSerializer.cs
- XmlHierarchyData.cs
- Int64KeyFrameCollection.cs
- ParallelEnumerable.cs
- LoadRetryHandler.cs
- DbConnectionOptions.cs
- RoleService.cs
- OneWayChannelListener.cs
- MailHeaderInfo.cs
- UpdateCompiler.cs
- XmlIgnoreAttribute.cs
- Operators.cs
- ExpressionBuilder.cs
- ProofTokenCryptoHandle.cs
- SessionPageStateSection.cs
- ClientReliableChannelBinder.cs
- ScrollChangedEventArgs.cs
- MessageDesigner.cs
- StringToken.cs
- DataFormats.cs
- ProjectionNode.cs
- XamlTypeWithExplicitNamespace.cs
- SizeConverter.cs
- MemoryStream.cs
- ISessionStateStore.cs
- DataObjectAttribute.cs
- LogicalExpressionEditor.cs
- XamlSerializer.cs
- WindowsGraphics2.cs
- XmlSchemaChoice.cs
- UpdateRecord.cs
- XmlMembersMapping.cs
- HwndSourceKeyboardInputSite.cs
- ToolStripDropDownClosingEventArgs.cs
- SchemaImporter.cs
- ToolStripLocationCancelEventArgs.cs
- Guid.cs
- BufferedGraphicsManager.cs
- TextRangeEditTables.cs
- DoubleLinkListEnumerator.cs
- SystemColorTracker.cs
- DesignerSelectionListAdapter.cs
- RootBuilder.cs
- unitconverter.cs
- MetadataSource.cs
- ClientData.cs
- ShaderRenderModeValidation.cs
- Rectangle.cs
- RegisterInfo.cs
- TraceInternal.cs
- RecordBuilder.cs
- FullTextState.cs
- ObjectSecurity.cs
- FixUp.cs
- GroupBoxAutomationPeer.cs
- ContentTextAutomationPeer.cs
- SqlNamer.cs
- State.cs
- SchemaElementLookUpTableEnumerator.cs
- OdbcEnvironmentHandle.cs
- MediaTimeline.cs
- DSASignatureDeformatter.cs
- ToolStripMenuItem.cs
- CustomAttributeFormatException.cs
- QuadraticBezierSegment.cs
- DependencyPropertyKind.cs
- TypeHelpers.cs
- ScriptingSectionGroup.cs
- TableLayoutColumnStyleCollection.cs
- WpfPayload.cs
- SqlXmlStorage.cs
- cryptoapiTransform.cs
- DesignerValidatorAdapter.cs
- FreeFormDesigner.cs
- XmlDomTextWriter.cs
- TagMapCollection.cs
- DataGridColumnCollectionEditor.cs
- WebPartMenu.cs