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
- DataServiceQueryProvider.cs
- PeerApplicationLaunchInfo.cs
- PluggableProtocol.cs
- SelectionRangeConverter.cs
- ListItemCollection.cs
- ConstructorBuilder.cs
- IdentityReference.cs
- DetailsViewUpdatedEventArgs.cs
- DeleteHelper.cs
- ArgumentsParser.cs
- URLMembershipCondition.cs
- serverconfig.cs
- Events.cs
- TabItemWrapperAutomationPeer.cs
- TraceRecord.cs
- ScalarOps.cs
- DetailsViewPagerRow.cs
- XmlBaseWriter.cs
- DataBindingHandlerAttribute.cs
- Keywords.cs
- UInt16.cs
- AuthenticatingEventArgs.cs
- TreeNodeStyleCollection.cs
- FaultPropagationQuery.cs
- EdmConstants.cs
- EdmType.cs
- TransactionChannel.cs
- Messages.cs
- _FtpDataStream.cs
- Int32.cs
- UrlEncodedParameterWriter.cs
- CatalogPartCollection.cs
- SqlWebEventProvider.cs
- ComponentEditorPage.cs
- DateTimeParse.cs
- StretchValidation.cs
- AttachmentService.cs
- MsmqBindingElementBase.cs
- KnownTypesProvider.cs
- HandlerBase.cs
- BaseDataList.cs
- FieldMetadata.cs
- CheckBoxFlatAdapter.cs
- DetailsViewUpdateEventArgs.cs
- CheckBox.cs
- Expression.cs
- MemberBinding.cs
- QilFactory.cs
- Span.cs
- ColorPalette.cs
- IDictionary.cs
- AdornerHitTestResult.cs
- WSDualHttpBinding.cs
- VScrollProperties.cs
- Byte.cs
- XmlBoundElement.cs
- COM2ColorConverter.cs
- WebPartChrome.cs
- PointF.cs
- ProfilePropertySettings.cs
- FileLogRecordEnumerator.cs
- FixedTextSelectionProcessor.cs
- ArrayTypeMismatchException.cs
- InputScopeNameConverter.cs
- DataBoundControlAdapter.cs
- GenericsInstances.cs
- EpmAttributeNameBuilder.cs
- SapiAttributeParser.cs
- BrowserDefinitionCollection.cs
- RequestCacheEntry.cs
- ObjectViewFactory.cs
- WebServiceClientProxyGenerator.cs
- Odbc32.cs
- AddInController.cs
- ExpressionConverter.cs
- VScrollBar.cs
- HttpTransportSecurityElement.cs
- WebServiceData.cs
- SqlCommandSet.cs
- SpeechRecognizer.cs
- DataGrid.cs
- OleDbErrorCollection.cs
- PageTheme.cs
- SmtpReplyReaderFactory.cs
- AssociationSet.cs
- Line.cs
- ReadWriteObjectLock.cs
- TableItemPattern.cs
- FileUpload.cs
- ResourceSetExpression.cs
- WebPartVerbCollection.cs
- DataTableExtensions.cs
- XmlEnumAttribute.cs
- WinFormsUtils.cs
- SequenceFullException.cs
- ListItemConverter.cs
- BoundField.cs
- TraversalRequest.cs
- AppSettingsSection.cs
- StateMachineWorkflowInstance.cs