Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeExpressionCollection.cs / 1 / CodeExpressionCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable() ] public class CodeExpressionCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeExpressionCollection() { } ////// Initializes a new instance of ///. /// /// public CodeExpressionCollection(CodeExpressionCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeExpressionCollection(CodeExpression[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeExpression this[int index] { get { return ((CodeExpression)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeExpression value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeExpression[] 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(CodeExpressionCollection 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(CodeExpression value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeExpression[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeExpression value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeExpression value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeExpression value) { List.Remove(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //Removes a specific ///from the /// . // Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable() ] public class CodeExpressionCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeExpressionCollection() { } ////// Initializes a new instance of ///. /// /// public CodeExpressionCollection(CodeExpressionCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeExpressionCollection(CodeExpression[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeExpression this[int index] { get { return ((CodeExpression)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeExpression value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeExpression[] 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(CodeExpressionCollection 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(CodeExpression value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeExpression[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeExpression value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeExpression value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeExpression 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
- DoubleStorage.cs
- RichTextBoxDesigner.cs
- ConfigurationPropertyCollection.cs
- PermissionToken.cs
- documentsequencetextcontainer.cs
- XmlSchemaAny.cs
- FormViewDeleteEventArgs.cs
- WorkflowPageSetupDialog.cs
- util.cs
- UnsafeNativeMethodsPenimc.cs
- IndexedString.cs
- IsolatedStorageException.cs
- NavigationWindowAutomationPeer.cs
- ConfigurationConverterBase.cs
- ChainedAsyncResult.cs
- XPathNodePointer.cs
- BinaryObjectWriter.cs
- WebPartCatalogCloseVerb.cs
- FullTextBreakpoint.cs
- DuplicateWaitObjectException.cs
- GrammarBuilderBase.cs
- ResourcePool.cs
- PixelFormats.cs
- UInt64.cs
- OracleInfoMessageEventArgs.cs
- NativeWindow.cs
- MethodRental.cs
- JsonServiceDocumentSerializer.cs
- dataprotectionpermission.cs
- ContentPlaceHolder.cs
- SafeBitVector32.cs
- AccessorTable.cs
- XmlValidatingReaderImpl.cs
- CapabilitiesPattern.cs
- XMLUtil.cs
- MgmtConfigurationRecord.cs
- Cursors.cs
- CompilerTypeWithParams.cs
- MULTI_QI.cs
- XamlInt32CollectionSerializer.cs
- GetPageCompletedEventArgs.cs
- DNS.cs
- TargetConverter.cs
- InputBinding.cs
- UrlMapping.cs
- ApplyTemplatesAction.cs
- XmlSignificantWhitespace.cs
- DataSourceSelectArguments.cs
- ApplicationException.cs
- XamlPathDataSerializer.cs
- DescendantQuery.cs
- InstanceCompleteException.cs
- RoleManagerEventArgs.cs
- DateTimeFormatInfo.cs
- ResourceSetExpression.cs
- GcSettings.cs
- PreservationFileWriter.cs
- ListBindingHelper.cs
- DesignerLabelAdapter.cs
- ProcessThread.cs
- ImageUrlEditor.cs
- WorkflowTransactionService.cs
- ListBindingConverter.cs
- DeadCharTextComposition.cs
- ByteConverter.cs
- IRCollection.cs
- WindowsFormsSynchronizationContext.cs
- AppSettings.cs
- EmptyElement.cs
- LoadGrammarCompletedEventArgs.cs
- AttributeCollection.cs
- CurrencyWrapper.cs
- MappingModelBuildProvider.cs
- CLRBindingWorker.cs
- Intellisense.cs
- AdCreatedEventArgs.cs
- EntityDataSourceConfigureObjectContext.cs
- FileClassifier.cs
- HostSecurityManager.cs
- SchemaNamespaceManager.cs
- MenuItemBindingCollection.cs
- XmlSchemaFacet.cs
- M3DUtil.cs
- StyleCollection.cs
- Color.cs
- XmlSecureResolver.cs
- Subordinate.cs
- RemoteDebugger.cs
- NotFiniteNumberException.cs
- VirtualDirectoryMappingCollection.cs
- PriorityQueue.cs
- HierarchicalDataSourceDesigner.cs
- WorkflowViewService.cs
- ReadOnlyCollection.cs
- ComplexTypeEmitter.cs
- _FixedSizeReader.cs
- FormsAuthenticationModule.cs
- SqlColumnizer.cs
- MemberExpression.cs
- XmlSchemaGroup.cs