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
- Command.cs
- PropertyTabAttribute.cs
- M3DUtil.cs
- ParallelTimeline.cs
- ZipIOLocalFileHeader.cs
- HttpContext.cs
- TemplateInstanceAttribute.cs
- PositiveTimeSpanValidator.cs
- DataView.cs
- QilDataSource.cs
- UseAttributeSetsAction.cs
- EntityDataSourceChangingEventArgs.cs
- Oid.cs
- GradientBrush.cs
- Calendar.cs
- GenericXmlSecurityToken.cs
- RegisteredExpandoAttribute.cs
- SQLInt32.cs
- Function.cs
- ViewKeyConstraint.cs
- AuthorizationPolicyTypeElement.cs
- PeerUnsafeNativeMethods.cs
- Rijndael.cs
- InputReportEventArgs.cs
- NTAccount.cs
- HMACSHA1.cs
- ProfileInfo.cs
- ControlBindingsCollection.cs
- HtmlControlPersistable.cs
- RowParagraph.cs
- XmlElementAttribute.cs
- SoapInteropTypes.cs
- RtfToXamlLexer.cs
- OdbcStatementHandle.cs
- OleDbDataAdapter.cs
- CompositeDataBoundControl.cs
- XmlNamespaceMapping.cs
- Base64Decoder.cs
- ExceptionUtil.cs
- SubclassTypeValidator.cs
- PropertyEmitter.cs
- MembershipSection.cs
- LocatorBase.cs
- ObjectItemCollection.cs
- PaperSource.cs
- ImageFormatConverter.cs
- NativeMethods.cs
- XmlBindingWorker.cs
- LingerOption.cs
- EntityDataSourceWizardForm.cs
- FrameworkElementFactoryMarkupObject.cs
- PatternMatchRules.cs
- IntAverageAggregationOperator.cs
- DictionaryEntry.cs
- ActivityDesigner.cs
- StyleConverter.cs
- SectionUpdates.cs
- PkcsUtils.cs
- Bitmap.cs
- SamlAssertion.cs
- TypeListConverter.cs
- GeometryValueSerializer.cs
- Merger.cs
- QueryOperatorEnumerator.cs
- TextParagraphView.cs
- SwitchExpression.cs
- SpotLight.cs
- CacheAxisQuery.cs
- SafeBitVector32.cs
- ListItemParagraph.cs
- PageRanges.cs
- SpecularMaterial.cs
- WindowsListViewGroupHelper.cs
- XmlSecureResolver.cs
- TableSectionStyle.cs
- ObjectQueryExecutionPlan.cs
- ObjectViewEntityCollectionData.cs
- QilSortKey.cs
- DispatcherObject.cs
- FixedSOMLineCollection.cs
- XmlCodeExporter.cs
- ClientSideQueueItem.cs
- FixedNode.cs
- IconBitmapDecoder.cs
- CrossAppDomainChannel.cs
- HttpHostedTransportConfiguration.cs
- XmlCustomFormatter.cs
- GenericAuthenticationEventArgs.cs
- Int32CollectionConverter.cs
- GridViewColumn.cs
- ConstructorExpr.cs
- XmlSchemaInferenceException.cs
- OLEDB_Enum.cs
- XamlFilter.cs
- MaskedTextBox.cs
- InputLanguageProfileNotifySink.cs
- StringAnimationBase.cs
- DataListItemEventArgs.cs
- BuildResultCache.cs
- basecomparevalidator.cs