Code:
/ DotNET / DotNET / 8.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
- DefaultSerializationProviderAttribute.cs
- SplashScreen.cs
- XamlTypeMapper.cs
- SQLInt64Storage.cs
- updatecommandorderer.cs
- BStrWrapper.cs
- XmlDictionary.cs
- Transform3DGroup.cs
- MessageContractImporter.cs
- mediaclock.cs
- MultiView.cs
- ResourceReferenceExpression.cs
- Adorner.cs
- StatusBarItem.cs
- UnsafePeerToPeerMethods.cs
- Logging.cs
- StorageEndPropertyMapping.cs
- SqlUdtInfo.cs
- XsdValidatingReader.cs
- TextServicesLoader.cs
- DeclarationUpdate.cs
- EntityTypeEmitter.cs
- shaperfactoryquerycacheentry.cs
- DynamicQueryableWrapper.cs
- AuthenticationModuleElementCollection.cs
- XmlSchemaChoice.cs
- selecteditemcollection.cs
- ObjectIDGenerator.cs
- SystemIPv6InterfaceProperties.cs
- coordinatorscratchpad.cs
- FigureHelper.cs
- ConnectionManagementElement.cs
- dataprotectionpermissionattribute.cs
- Set.cs
- CodeArrayCreateExpression.cs
- GridViewUpdateEventArgs.cs
- LinkLabel.cs
- IpcChannel.cs
- XhtmlBasicSelectionListAdapter.cs
- InternalRelationshipCollection.cs
- DeploymentSectionCache.cs
- InstanceValue.cs
- ErrorWrapper.cs
- TemplateParser.cs
- ContractSearchPattern.cs
- SqlConnectionFactory.cs
- EditorZone.cs
- WebPart.cs
- StringDictionary.cs
- CroppedBitmap.cs
- FrameAutomationPeer.cs
- DockAndAnchorLayout.cs
- AsyncOperation.cs
- VirtualizingStackPanel.cs
- DataSourceIDConverter.cs
- SqlNodeAnnotation.cs
- AdapterDictionary.cs
- LogicalExpr.cs
- Identity.cs
- DataViewSetting.cs
- UseAttributeSetsAction.cs
- SafeEventLogWriteHandle.cs
- FontFamily.cs
- ExtensionFile.cs
- UserControl.cs
- MenuRendererClassic.cs
- DateBoldEvent.cs
- AppliedDeviceFiltersDialog.cs
- ToolStripDropDownClosedEventArgs.cs
- MustUnderstandBehavior.cs
- ReadOnlyDataSource.cs
- AsymmetricAlgorithm.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DoubleLinkList.cs
- HtmlControlDesigner.cs
- TextEffect.cs
- ListItem.cs
- PropertyMappingExceptionEventArgs.cs
- ClassHandlersStore.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Graphics.cs
- ACL.cs
- StylusDevice.cs
- XmlFormatExtensionPrefixAttribute.cs
- QilInvoke.cs
- CompModHelpers.cs
- TextAction.cs
- HttpCapabilitiesEvaluator.cs
- InsufficientMemoryException.cs
- ExternalException.cs
- GradientStop.cs
- FontCollection.cs
- WebPartMenu.cs
- QueryResponse.cs
- StorageAssociationTypeMapping.cs
- FixedSOMPage.cs
- HtmlControl.cs
- BrushValueSerializer.cs
- WebPageTraceListener.cs
- SmtpSpecifiedPickupDirectoryElement.cs