Code:
/ DotNET / DotNET / 8.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
- BindingSourceDesigner.cs
- Converter.cs
- WebPartVerb.cs
- SignatureDescription.cs
- DiscriminatorMap.cs
- DataGridViewTextBoxColumn.cs
- ThrowOnMultipleAssignment.cs
- SmtpLoginAuthenticationModule.cs
- DataGridTableCollection.cs
- HwndSourceKeyboardInputSite.cs
- TaskCanceledException.cs
- NavigationCommands.cs
- GroupLabel.cs
- NGCSerializerAsync.cs
- FontStretches.cs
- IListConverters.cs
- SR.cs
- Operator.cs
- HtmlTextArea.cs
- CompiledQueryCacheKey.cs
- SendMessageRecord.cs
- QilXmlReader.cs
- FormatterConverter.cs
- CodeTypeMemberCollection.cs
- HttpHandler.cs
- TraceUtility.cs
- CodeBlockBuilder.cs
- remotingproxy.cs
- DataGridTableCollection.cs
- CLRBindingWorker.cs
- WizardDesigner.cs
- JournalEntryListConverter.cs
- InvalidComObjectException.cs
- XmlSchemaSimpleTypeList.cs
- Effect.cs
- CanonicalXml.cs
- ChineseLunisolarCalendar.cs
- IdentityReference.cs
- DataBinding.cs
- AttachmentService.cs
- DataRelation.cs
- XmlCodeExporter.cs
- ControlPropertyNameConverter.cs
- ContentElementAutomationPeer.cs
- CatalogZoneBase.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- GestureRecognitionResult.cs
- XmlBinaryReader.cs
- CharacterBuffer.cs
- ConstraintManager.cs
- KeyValueSerializer.cs
- WrapPanel.cs
- ButtonField.cs
- XmlSchemaChoice.cs
- SafeNativeMethodsCLR.cs
- BaseCodeDomTreeGenerator.cs
- ApplicationDirectoryMembershipCondition.cs
- Assert.cs
- ScriptingSectionGroup.cs
- RectConverter.cs
- CheckBox.cs
- QuaternionAnimation.cs
- StylusPoint.cs
- _CommandStream.cs
- WebServicesSection.cs
- SqlVersion.cs
- DetailsView.cs
- WindowsTab.cs
- _Win32.cs
- PageRanges.cs
- StoreItemCollection.cs
- ClientFormsIdentity.cs
- ErrorFormatter.cs
- SQLGuidStorage.cs
- ProjectionPath.cs
- followingquery.cs
- StateWorkerRequest.cs
- SqlBuilder.cs
- SchemaType.cs
- SemanticResultValue.cs
- CodeDelegateInvokeExpression.cs
- DoubleCollectionConverter.cs
- NamedPipeDuplicateContext.cs
- ComponentResourceKeyConverter.cs
- XPathBuilder.cs
- AccessControlList.cs
- SoapEnumAttribute.cs
- CSharpCodeProvider.cs
- MatrixTransform.cs
- RelationshipEndMember.cs
- FragmentNavigationEventArgs.cs
- JoinTreeSlot.cs
- XamlTemplateSerializer.cs
- DataGridCellsPanel.cs
- CompressEmulationStream.cs
- HttpGetClientProtocol.cs
- ToolStripComboBox.cs
- Misc.cs
- TiffBitmapDecoder.cs
- XmlUtf8RawTextWriter.cs