Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpressionCollection.cs / 1305376 / CodeParameterDeclarationExpressionCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- SystemColorTracker.cs
- Block.cs
- CodeConstructor.cs
- CodeIdentifier.cs
- AuthenticatingEventArgs.cs
- TextModifierScope.cs
- UrlMapping.cs
- SessionEndedEventArgs.cs
- SerializerProvider.cs
- CodeStatementCollection.cs
- CryptoStream.cs
- CompilerError.cs
- LinearKeyFrames.cs
- CursorConverter.cs
- ResourceWriter.cs
- SqlDataSourceCache.cs
- CopyAttributesAction.cs
- EdmProperty.cs
- SolidBrush.cs
- BitStack.cs
- Int16KeyFrameCollection.cs
- WeakReadOnlyCollection.cs
- SmtpNetworkElement.cs
- MenuItemStyle.cs
- DefaultPropertyAttribute.cs
- SemanticResolver.cs
- SmiRecordBuffer.cs
- Touch.cs
- Color.cs
- PenThreadPool.cs
- BindingExpressionUncommonField.cs
- EventLogPermission.cs
- ComplexTypeEmitter.cs
- CacheSection.cs
- ListViewEditEventArgs.cs
- DataTableNewRowEvent.cs
- isolationinterop.cs
- SafePointer.cs
- GridErrorDlg.cs
- KeyboardNavigation.cs
- MediaCommands.cs
- TCEAdapterGenerator.cs
- SoapObjectReader.cs
- safex509handles.cs
- TraceContext.cs
- QueryExpr.cs
- MethodCallTranslator.cs
- UnsafeNativeMethods.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- RefreshPropertiesAttribute.cs
- CollectionChangeEventArgs.cs
- ChameleonKey.cs
- ReservationNotFoundException.cs
- NonSerializedAttribute.cs
- DataGridViewCellStyle.cs
- CombinedGeometry.cs
- TracedNativeMethods.cs
- WebServiceClientProxyGenerator.cs
- WebMessageEncodingBindingElement.cs
- HTMLTextWriter.cs
- HttpCookie.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ThreadPool.cs
- StreamMarshaler.cs
- WorkflowItemPresenter.cs
- SingleTagSectionHandler.cs
- GroupBoxAutomationPeer.cs
- ResourceDefaultValueAttribute.cs
- HttpHeaderCollection.cs
- WindowsTokenRoleProvider.cs
- MetadataArtifactLoaderResource.cs
- FileRecordSequence.cs
- StructuredTypeEmitter.cs
- CreateParams.cs
- ApplicationId.cs
- RangeValuePatternIdentifiers.cs
- XmlAttributeProperties.cs
- XPathBinder.cs
- BadImageFormatException.cs
- AutomationPeer.cs
- CacheMode.cs
- ProjectionPathBuilder.cs
- ResourceAssociationSetEnd.cs
- PopOutPanel.cs
- DragEventArgs.cs
- ConfigurationValidatorBase.cs
- ClientUrlResolverWrapper.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ComponentDispatcherThread.cs
- DependencyObject.cs
- HttpApplication.cs
- RootBrowserWindowProxy.cs
- StructureChangedEventArgs.cs
- Pair.cs
- MarshalDirectiveException.cs
- PlatformCulture.cs
- Enum.cs
- PkcsMisc.cs
- AnnotationStore.cs
- PeerHopCountAttribute.cs