Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClauseCollection.cs / 1305376 / CodeCatchClauseCollection.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 CodeCatchClauseCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeCatchClauseCollection() { } ////// Initializes a new instance of ///. /// /// public CodeCatchClauseCollection(CodeCatchClauseCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeCatchClauseCollection(CodeCatchClause[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeCatchClause this[int index] { get { return ((CodeCatchClause)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeCatchClause value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeCatchClause[] 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(CodeCatchClauseCollection 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(CodeCatchClause value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeCatchClause[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeCatchClause value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeCatchClause value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeCatchClause 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 CodeCatchClauseCollection : CollectionBase { ////// A collection that stores ///objects. /// /// public CodeCatchClauseCollection() { } ////// Initializes a new instance of ///. /// /// public CodeCatchClauseCollection(CodeCatchClauseCollection value) { this.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// public CodeCatchClauseCollection(CodeCatchClause[] value) { this.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// public CodeCatchClause this[int index] { get { return ((CodeCatchClause)(List[index])); } set { List[index] = value; } } ///Represents the entry at the specified index of the ///. /// public int Add(CodeCatchClause value) { return List.Add(value); } ///Adds a ///with the specified value to the /// . /// public void AddRange(CodeCatchClause[] 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(CodeCatchClauseCollection 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(CodeCatchClause value) { return List.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// public void CopyTo(CodeCatchClause[] array, int index) { List.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// public int IndexOf(CodeCatchClause value) { return List.IndexOf(value); } ///Returns the index of a ///in /// the . /// public void Insert(int index, CodeCatchClause value) { List.Insert(index, value); } ///Inserts a ///into the at the specified index. /// public void Remove(CodeCatchClause 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
- IisTraceListener.cs
- BufferModeSettings.cs
- AutoGeneratedFieldProperties.cs
- Accessors.cs
- SizeAnimationClockResource.cs
- LayoutInformation.cs
- WindowsEditBoxRange.cs
- ButtonBase.cs
- ObjectDataSourceEventArgs.cs
- MimeObjectFactory.cs
- DataGridItemCollection.cs
- ProviderConnectionPointCollection.cs
- SrgsDocument.cs
- AppDomainAttributes.cs
- WindowsPrincipal.cs
- XmlSchemaSimpleType.cs
- CodeDOMProvider.cs
- ErrorFormatterPage.cs
- AssemblyResourceLoader.cs
- BitmapPalette.cs
- _NativeSSPI.cs
- connectionpool.cs
- DateTimeParse.cs
- UIntPtr.cs
- x509utils.cs
- Rotation3DKeyFrameCollection.cs
- IsolatedStorageFilePermission.cs
- XamlStream.cs
- HttpListenerException.cs
- LinkedList.cs
- MetadataSerializer.cs
- AssociationEndMember.cs
- WebPartZoneBaseDesigner.cs
- ArgumentException.cs
- ObjectView.cs
- StateMachineAction.cs
- SapiRecoContext.cs
- MediaScriptCommandRoutedEventArgs.cs
- RewritingSimplifier.cs
- TransactionBridge.cs
- QueryOutputWriterV1.cs
- XpsImageSerializationService.cs
- HTMLTextWriter.cs
- TabControlToolboxItem.cs
- DataBoundControlHelper.cs
- InteropAutomationProvider.cs
- EntityKey.cs
- CodeDomConfigurationHandler.cs
- Imaging.cs
- COM2ComponentEditor.cs
- PropertyChangedEventManager.cs
- InputGestureCollection.cs
- ItemsChangedEventArgs.cs
- IRCollection.cs
- SeekableMessageNavigator.cs
- PersonalizationStateInfoCollection.cs
- CheckBoxBaseAdapter.cs
- FormViewDeletedEventArgs.cs
- AspCompat.cs
- ExternalException.cs
- DataBoundControlActionList.cs
- PersonalizableAttribute.cs
- SetIterators.cs
- FilterableAttribute.cs
- DeadCharTextComposition.cs
- WebMessageEncoderFactory.cs
- XamlTypeMapper.cs
- TextTreeRootNode.cs
- PolyLineSegment.cs
- ShaperBuffers.cs
- MembershipSection.cs
- PolicyValidationException.cs
- EncoderNLS.cs
- VirtualDirectoryMapping.cs
- SafeReadContext.cs
- BackStopAuthenticationModule.cs
- OleDbReferenceCollection.cs
- EventProviderClassic.cs
- SizeChangedEventArgs.cs
- OutputCacheSettings.cs
- DataGridHeaderBorder.cs
- DataControlFieldHeaderCell.cs
- NonDualMessageSecurityOverHttp.cs
- TextReader.cs
- PolyBezierSegment.cs
- CodeSubDirectoriesCollection.cs
- NullableLongMinMaxAggregationOperator.cs
- EntityContainerAssociationSet.cs
- JpegBitmapDecoder.cs
- Char.cs
- ParallelQuery.cs
- ImportException.cs
- State.cs
- regiisutil.cs
- MiniConstructorInfo.cs
- LayoutInformation.cs
- Geometry3D.cs
- CutCopyPasteHelper.cs
- SqlReorderer.cs
- UIElement3D.cs