Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClauseCollection.cs / 1 / CodeCatchClauseCollection.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 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 /// . // 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 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
- DesignerActionService.cs
- MatrixAnimationBase.cs
- PageWrapper.cs
- TimeSpanMinutesConverter.cs
- HtmlForm.cs
- MsmqBindingFilter.cs
- SafeMarshalContext.cs
- AsyncPostBackTrigger.cs
- SEHException.cs
- SecurityHelper.cs
- oledbmetadatacolumnnames.cs
- AffineTransform3D.cs
- CrossSiteScriptingValidation.cs
- XmlElementElement.cs
- SqlAggregateChecker.cs
- XPathBinder.cs
- ObjectIDGenerator.cs
- VectorAnimationBase.cs
- WsatProxy.cs
- AuthorizationRule.cs
- OdbcConnectionStringbuilder.cs
- ExpressionVisitor.cs
- HashHelpers.cs
- Mouse.cs
- ItemsControl.cs
- SQLInt32.cs
- ClickablePoint.cs
- ProfilePropertySettings.cs
- CustomErrorsSection.cs
- HtmlElementCollection.cs
- PrivilegedConfigurationManager.cs
- DeferredReference.cs
- WeakHashtable.cs
- DSASignatureDeformatter.cs
- Content.cs
- CharEntityEncoderFallback.cs
- AttributeProviderAttribute.cs
- ValidatorCollection.cs
- MessageBox.cs
- IxmlLineInfo.cs
- CheckBoxField.cs
- BuildManager.cs
- ChannelServices.cs
- SqlStatistics.cs
- SQLInt16Storage.cs
- BidPrivateBase.cs
- ResourceExpressionEditor.cs
- x509store.cs
- ReceiveErrorHandling.cs
- StrongNameKeyPair.cs
- QilFactory.cs
- CorrelationToken.cs
- ContentFileHelper.cs
- TextReader.cs
- RequiredFieldValidator.cs
- TemplateEditingVerb.cs
- CqlWriter.cs
- DocumentPage.cs
- ImageSource.cs
- PageCatalogPart.cs
- CustomWebEventKey.cs
- ProvidersHelper.cs
- XpsImageSerializationService.cs
- FieldAccessException.cs
- ButtonBase.cs
- SqlServer2KCompatibilityCheck.cs
- GuidConverter.cs
- ReachDocumentPageSerializerAsync.cs
- NegotiationTokenAuthenticator.cs
- ECDiffieHellmanPublicKey.cs
- EntityDataSourceConfigureObjectContext.cs
- XmlDocumentFieldSchema.cs
- XmlAtomicValue.cs
- PathFigure.cs
- SliderAutomationPeer.cs
- DocumentPageViewAutomationPeer.cs
- PermissionSetTriple.cs
- DocumentViewerBaseAutomationPeer.cs
- Rotation3DAnimationBase.cs
- XmlSchemaSimpleTypeList.cs
- TabPage.cs
- CapacityStreamGeometryContext.cs
- InternalTransaction.cs
- SqlDataReader.cs
- MailWebEventProvider.cs
- UICuesEvent.cs
- WebEventTraceProvider.cs
- Helper.cs
- Int32CollectionValueSerializer.cs
- CallbackCorrelationInitializer.cs
- DBSqlParserColumn.cs
- ToolStripMenuItemDesigner.cs
- Single.cs
- HyperLinkField.cs
- DataContractSerializerSection.cs
- invalidudtexception.cs
- FieldToken.cs
- EntitySetRetriever.cs
- HtmlInputFile.cs
- SparseMemoryStream.cs