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
- AttributeUsageAttribute.cs
- FixedSOMTable.cs
- XhtmlBasicPhoneCallAdapter.cs
- HttpVersion.cs
- FormViewUpdateEventArgs.cs
- dbdatarecord.cs
- MarkupCompiler.cs
- ConstraintStruct.cs
- QuotedStringWriteStateInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- JulianCalendar.cs
- PlatformCulture.cs
- LoginView.cs
- SourceCollection.cs
- LayoutExceptionEventArgs.cs
- HttpWriter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Int16AnimationUsingKeyFrames.cs
- PriorityChain.cs
- OdbcStatementHandle.cs
- ArgIterator.cs
- HttpCacheVary.cs
- CodeExpressionStatement.cs
- ClientConfigPaths.cs
- DataTableReaderListener.cs
- IssuedSecurityTokenProvider.cs
- InternalPermissions.cs
- PropertyChangeTracker.cs
- NotSupportedException.cs
- HttpHandlerAction.cs
- DataBindingHandlerAttribute.cs
- DynamicPropertyReader.cs
- CodeSubDirectoriesCollection.cs
- ColumnTypeConverter.cs
- LogicalExpr.cs
- SamlEvidence.cs
- DoubleLinkList.cs
- SqlNotificationEventArgs.cs
- AsyncDataRequest.cs
- XhtmlBasicTextBoxAdapter.cs
- BinaryEditor.cs
- MailAddressCollection.cs
- WebPartAddingEventArgs.cs
- IItemProperties.cs
- Axis.cs
- DecoratedNameAttribute.cs
- WindowsStatusBar.cs
- ReliableOutputSessionChannel.cs
- EntitySetDataBindingList.cs
- ComponentEditorPage.cs
- LinkButton.cs
- SkinIDTypeConverter.cs
- SqlDataAdapter.cs
- Trace.cs
- TemplateControlParser.cs
- XmlBinaryReaderSession.cs
- DatatypeImplementation.cs
- InfiniteTimeSpanConverter.cs
- HyperLinkDesigner.cs
- basecomparevalidator.cs
- StringStorage.cs
- CollectionBuilder.cs
- CmsInterop.cs
- HttpRuntimeSection.cs
- SqlBooleanMismatchVisitor.cs
- DesignerTransactionCloseEvent.cs
- SortedList.cs
- GridItemCollection.cs
- SnapshotChangeTrackingStrategy.cs
- DbParameterHelper.cs
- FailedToStartupUIException.cs
- InvokePatternIdentifiers.cs
- Viewport2DVisual3D.cs
- DashStyles.cs
- PolyQuadraticBezierSegment.cs
- AvTrace.cs
- RoleGroup.cs
- XmlAtomicValue.cs
- SourceFileInfo.cs
- AcceleratedTokenAuthenticator.cs
- BuildDependencySet.cs
- printdlgexmarshaler.cs
- FieldMetadata.cs
- WebPartTransformerCollection.cs
- HierarchicalDataSourceControl.cs
- ListBoxItemAutomationPeer.cs
- Mapping.cs
- Rectangle.cs
- DataPointer.cs
- EntityException.cs
- TraceLog.cs
- SerialReceived.cs
- DataControlFieldCell.cs
- PageTheme.cs
- ServiceDescriptionContext.cs
- AlternateViewCollection.cs
- RotateTransform.cs
- Utils.cs
- SubMenuStyleCollectionEditor.cs