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
- PointAnimationUsingPath.cs
- CloseCollectionAsyncResult.cs
- UIAgentRequest.cs
- RegexGroupCollection.cs
- XmlEncoding.cs
- AddressingProperty.cs
- _SSPISessionCache.cs
- SqlXmlStorage.cs
- TypeConverter.cs
- Typography.cs
- RuleAction.cs
- PlatformNotSupportedException.cs
- Point3DCollection.cs
- VoiceInfo.cs
- DbReferenceCollection.cs
- baseshape.cs
- RefreshPropertiesAttribute.cs
- BigInt.cs
- _FixedSizeReader.cs
- CallSiteOps.cs
- MessageSecurityVersionConverter.cs
- LinqTreeNodeEvaluator.cs
- CustomCredentialPolicy.cs
- ArglessEventHandlerProxy.cs
- OrderedDictionary.cs
- ModelItemImpl.cs
- DataTemplateKey.cs
- CLSCompliantAttribute.cs
- EngineSite.cs
- WebPartCatalogAddVerb.cs
- AudioException.cs
- Stream.cs
- DesignerActionPropertyItem.cs
- UserUseLicenseDictionaryLoader.cs
- UserControlParser.cs
- RSACryptoServiceProvider.cs
- ToolBarButton.cs
- XmlAttributeHolder.cs
- PerformanceCounterTraceRecord.cs
- DataColumnCollection.cs
- TransformGroup.cs
- ValidationSummary.cs
- TaiwanCalendar.cs
- PersonalizationProviderHelper.cs
- DriveInfo.cs
- KeyValuePairs.cs
- SurrogateEncoder.cs
- NeutralResourcesLanguageAttribute.cs
- TabletCollection.cs
- SecurityKeyUsage.cs
- HttpResponseWrapper.cs
- StrokeCollectionConverter.cs
- versioninfo.cs
- DesignerInterfaces.cs
- XmlSchemaProviderAttribute.cs
- FontCacheLogic.cs
- DragStartedEventArgs.cs
- TraceFilter.cs
- PersistStreamTypeWrapper.cs
- SynchronizationLockException.cs
- DispatcherHookEventArgs.cs
- SizeChangedInfo.cs
- oledbconnectionstring.cs
- GroupItemAutomationPeer.cs
- DataSourceControlBuilder.cs
- JsonFormatMapping.cs
- FieldDescriptor.cs
- LinearGradientBrush.cs
- UnicastIPAddressInformationCollection.cs
- AllowedAudienceUriElementCollection.cs
- DataGridViewDataConnection.cs
- ColorConverter.cs
- MLangCodePageEncoding.cs
- Win32Exception.cs
- SynchronousChannel.cs
- UnknownBitmapEncoder.cs
- SystemEvents.cs
- SqlNodeTypeOperators.cs
- MediaTimeline.cs
- XmlSchemaAttributeGroupRef.cs
- ExpressionList.cs
- RemoteWebConfigurationHostStream.cs
- Package.cs
- WindowsListViewSubItem.cs
- bidPrivateBase.cs
- AttributeEmitter.cs
- DictionaryBase.cs
- BaseProcessor.cs
- FlowDocumentView.cs
- WindowPatternIdentifiers.cs
- HttpHandlersSection.cs
- RangeBase.cs
- RemoteWebConfigurationHost.cs
- DataListItem.cs
- ComEventsMethod.cs
- PersonalizationDictionary.cs
- M3DUtil.cs
- NonSerializedAttribute.cs
- SqlDataReader.cs
- Translator.cs