Code:
/ 4.0 / 4.0 / 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 /// . // // // ----------------------------------------------------------------------------- // 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
- GetPageNumberCompletedEventArgs.cs
- WindowsScroll.cs
- WebPartConnectionsDisconnectVerb.cs
- DiscoveryRequestHandler.cs
- Int16Storage.cs
- CookieParameter.cs
- OpenFileDialog.cs
- InstancePersistenceContext.cs
- ListDictionary.cs
- StatusStrip.cs
- TagPrefixAttribute.cs
- AdCreatedEventArgs.cs
- System.Data_BID.cs
- FrameworkTemplate.cs
- RuntimeCompatibilityAttribute.cs
- URI.cs
- UIAgentAsyncParams.cs
- StringConverter.cs
- UrlUtility.cs
- UseAttributeSetsAction.cs
- RuleSetBrowserDialog.cs
- HttpWrapper.cs
- SerializationFieldInfo.cs
- RichTextBox.cs
- MatrixIndependentAnimationStorage.cs
- InstalledVoice.cs
- TemplateBindingExtension.cs
- CategoryList.cs
- IdentityVerifier.cs
- SqlInternalConnectionSmi.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- PageEventArgs.cs
- AutomationTextAttribute.cs
- MemoryStream.cs
- SortedSet.cs
- TemplateBindingExtension.cs
- SimpleBitVector32.cs
- WsatServiceAddress.cs
- UIAgentCrashedException.cs
- HtmlButton.cs
- OletxCommittableTransaction.cs
- NodeFunctions.cs
- Int64Storage.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- RemotingAttributes.cs
- HttpDebugHandler.cs
- XPathSelectionIterator.cs
- PointKeyFrameCollection.cs
- InternalTypeHelper.cs
- ForceCopyBuildProvider.cs
- AutomationAttributeInfo.cs
- ExpandoObject.cs
- XmlTextReader.cs
- ReadContentAsBinaryHelper.cs
- GridPattern.cs
- WebRequestModulesSection.cs
- RangeContentEnumerator.cs
- TabPanel.cs
- StreamWithDictionary.cs
- ConstraintEnumerator.cs
- rsa.cs
- LOSFormatter.cs
- Section.cs
- XmlSchemaCompilationSettings.cs
- StructuredTypeEmitter.cs
- BinHexEncoding.cs
- PeerApplicationLaunchInfo.cs
- SafeSecurityHandles.cs
- Publisher.cs
- XsltArgumentList.cs
- PopupRoot.cs
- FtpWebResponse.cs
- URLString.cs
- AsymmetricKeyExchangeDeformatter.cs
- FormViewPagerRow.cs
- IsolatedStorageFileStream.cs
- ConstructorArgumentAttribute.cs
- CqlLexerHelpers.cs
- SQLUtility.cs
- RoleServiceManager.cs
- Exceptions.cs
- ValueExpressions.cs
- MD5.cs
- TryCatchDesigner.xaml.cs
- SqlAggregateChecker.cs
- SearchForVirtualItemEventArgs.cs
- TextCompositionManager.cs
- TraceContext.cs
- StringAttributeCollection.cs
- HttpApplication.cs
- JoinCqlBlock.cs
- EventManager.cs
- SafeFileMappingHandle.cs
- _HTTPDateParse.cs
- EdmValidator.cs
- SBCSCodePageEncoding.cs
- ControlCachePolicy.cs
- HierarchicalDataSourceControl.cs
- XmlSecureResolver.cs
- SubMenuStyle.cs