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
- VisualTreeUtils.cs
- StateDesigner.CommentLayoutGlyph.cs
- DependencyPropertyKind.cs
- WebBrowserPermission.cs
- ConnectionStringsSection.cs
- DeobfuscatingStream.cs
- OracleInternalConnection.cs
- RequestSecurityTokenForGetBrowserToken.cs
- TextSchema.cs
- DataGridViewCell.cs
- PropertyEmitterBase.cs
- ServiceContractAttribute.cs
- HttpRequest.cs
- assertwrapper.cs
- DrawingContextWalker.cs
- DoubleCollectionConverter.cs
- InvalidComObjectException.cs
- ToolboxComponentsCreatingEventArgs.cs
- FileUpload.cs
- SafeCertificateContext.cs
- XmlDataImplementation.cs
- Rotation3DAnimation.cs
- IconHelper.cs
- XmlNavigatorStack.cs
- ObjectNavigationPropertyMapping.cs
- SqlCachedBuffer.cs
- XmlMapping.cs
- NameTable.cs
- ServiceBehaviorElement.cs
- RoleGroupCollection.cs
- StringFormat.cs
- RuntimeCompatibilityAttribute.cs
- ClientUtils.cs
- DataGridItemCollection.cs
- AuthenticationSection.cs
- ConnectorMovedEventArgs.cs
- HttpRequestCacheValidator.cs
- SingleBodyParameterMessageFormatter.cs
- sqlstateclientmanager.cs
- RecordManager.cs
- SessionEndedEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- DesignOnlyAttribute.cs
- WebBrowserNavigatingEventHandler.cs
- NeutralResourcesLanguageAttribute.cs
- FormViewCommandEventArgs.cs
- ColorConvertedBitmap.cs
- StreamAsIStream.cs
- WebColorConverter.cs
- PipelineModuleStepContainer.cs
- MetroSerializationManager.cs
- OdbcParameterCollection.cs
- ResizeGrip.cs
- DisposableCollectionWrapper.cs
- WpfGeneratedKnownProperties.cs
- Camera.cs
- InvalidComObjectException.cs
- AffineTransform3D.cs
- OdbcRowUpdatingEvent.cs
- ImmComposition.cs
- QilXmlReader.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SystemWebCachingSectionGroup.cs
- DataSourceSelectArguments.cs
- ConsoleCancelEventArgs.cs
- NativeWindow.cs
- GraphicsContext.cs
- StaticResourceExtension.cs
- RegexCaptureCollection.cs
- AuthorizationRuleCollection.cs
- PrintDocument.cs
- MethodBody.cs
- PageSetupDialog.cs
- XmlDataSourceNodeDescriptor.cs
- TextRange.cs
- XmlSchema.cs
- DependencySource.cs
- MetabaseSettings.cs
- TableColumn.cs
- XmlUtilWriter.cs
- OleDbRowUpdatingEvent.cs
- XmlDataProvider.cs
- storepermissionattribute.cs
- DataRecordObjectView.cs
- SafeTimerHandle.cs
- OutputScopeManager.cs
- HitTestResult.cs
- ModuleConfigurationInfo.cs
- CallbackValidator.cs
- ThemeDictionaryExtension.cs
- MultipleViewProviderWrapper.cs
- TextServicesProperty.cs
- XmlDesignerDataSourceView.cs
- PrimaryKeyTypeConverter.cs
- DoubleAnimationUsingPath.cs
- CodeGroup.cs
- BitmapEffectGroup.cs
- ExclusiveHandle.cs
- OrCondition.cs
- WebPartZoneBase.cs