Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }Removes a specific ///from the /// .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ActivitySurrogate.cs
- HtmlLink.cs
- InstalledFontCollection.cs
- RegionData.cs
- FontStyle.cs
- EdmError.cs
- BuildProvidersCompiler.cs
- UnsafeNativeMethods.cs
- SystemUdpStatistics.cs
- _NetRes.cs
- JoinSymbol.cs
- NamespaceDecl.cs
- Button.cs
- SerializerProvider.cs
- SettingsContext.cs
- GetPageCompletedEventArgs.cs
- ToolBarOverflowPanel.cs
- MatrixCamera.cs
- Point3DAnimation.cs
- FontFamily.cs
- XsltContext.cs
- Path.cs
- UnsafePeerToPeerMethods.cs
- UniqueEventHelper.cs
- FastEncoderWindow.cs
- TemplateXamlTreeBuilder.cs
- LowerCaseStringConverter.cs
- ContextMenuStripGroupCollection.cs
- FillBehavior.cs
- RelatedView.cs
- ProfileGroupSettings.cs
- XmlMembersMapping.cs
- GraphicsPath.cs
- TemplatePartAttribute.cs
- ListComponentEditorPage.cs
- NumericExpr.cs
- WizardDesigner.cs
- CompositeDataBoundControl.cs
- SearchForVirtualItemEventArgs.cs
- WindowsGraphics2.cs
- InvalidEnumArgumentException.cs
- XmlTextEncoder.cs
- CodeAttachEventStatement.cs
- OutputCacheProfile.cs
- ToolBar.cs
- SerialErrors.cs
- RuleConditionDialog.Designer.cs
- SystemResourceHost.cs
- Schema.cs
- MetadataImporterQuotas.cs
- InternalException.cs
- TraceContextRecord.cs
- ToolStripContentPanel.cs
- QuaternionAnimationBase.cs
- SqlDataSourceQueryConverter.cs
- DefaultPropertiesToSend.cs
- AutoGeneratedField.cs
- SmiXetterAccessMap.cs
- DateBoldEvent.cs
- DataServiceEntityAttribute.cs
- ElementMarkupObject.cs
- NameObjectCollectionBase.cs
- ProcessThreadCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- Cloud.cs
- AppearanceEditorPart.cs
- ActiveDesignSurfaceEvent.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- BuildProviderAppliesToAttribute.cs
- RuleInfoComparer.cs
- HideDisabledControlAdapter.cs
- AccessKeyManager.cs
- SystemWebCachingSectionGroup.cs
- Monitor.cs
- HyperLinkColumn.cs
- _NestedMultipleAsyncResult.cs
- HttpContext.cs
- ImmComposition.cs
- HitTestWithGeometryDrawingContextWalker.cs
- PathNode.cs
- ListViewInsertEventArgs.cs
- GroupDescription.cs
- RadioButtonList.cs
- LinqExpressionNormalizer.cs
- AVElementHelper.cs
- NavigatingCancelEventArgs.cs
- AlgoModule.cs
- Win32Interop.cs
- LambdaCompiler.cs
- TemplateBuilder.cs
- SystemUdpStatistics.cs
- TokenizerHelper.cs
- WindowsClientElement.cs
- DesignOnlyAttribute.cs
- CaseInsensitiveOrdinalStringComparer.cs
- BoolExpressionVisitors.cs
- PnrpPeerResolver.cs
- ProxyElement.cs
- SafeNativeMethodsCLR.cs
- ItemCollectionEditor.cs