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
- UIAgentMonitorHandle.cs
- MonitorWrapper.cs
- DocobjHost.cs
- SqlProviderServices.cs
- TimelineClockCollection.cs
- CapabilitiesUse.cs
- ChtmlTextWriter.cs
- LoadGrammarCompletedEventArgs.cs
- SQLBinary.cs
- MexBindingBindingCollectionElement.cs
- XmlSchema.cs
- wgx_render.cs
- NativeMethods.cs
- GatewayDefinition.cs
- WindowsRichEditRange.cs
- DataGridLinkButton.cs
- DocumentApplicationJournalEntryEventArgs.cs
- DetailsViewRow.cs
- filewebrequest.cs
- XmlEncoding.cs
- ColorConvertedBitmapExtension.cs
- WebPartTransformerCollection.cs
- DBSchemaTable.cs
- ApplicationInterop.cs
- ToolboxItemAttribute.cs
- FixedBufferAttribute.cs
- WindowsSecurityToken.cs
- FilteredDataSetHelper.cs
- RIPEMD160Managed.cs
- RegistryKey.cs
- TemplatePagerField.cs
- CompiledAction.cs
- FixedSOMTable.cs
- MessagePropertyDescriptionCollection.cs
- Selection.cs
- __ComObject.cs
- BaseValidatorDesigner.cs
- TextSerializer.cs
- HashCodeCombiner.cs
- GridViewRow.cs
- Int32CAMarshaler.cs
- BufferedGraphicsManager.cs
- ProcessingInstructionAction.cs
- HeaderCollection.cs
- TileBrush.cs
- X509Utils.cs
- IndentedTextWriter.cs
- BorderGapMaskConverter.cs
- DockingAttribute.cs
- JpegBitmapDecoder.cs
- StringSorter.cs
- PropertyMetadata.cs
- SslStream.cs
- TabControlToolboxItem.cs
- EntityClassGenerator.cs
- ValidateNames.cs
- XmlKeywords.cs
- FirstQueryOperator.cs
- PolicyManager.cs
- CheckBoxFlatAdapter.cs
- SqlBuilder.cs
- DescendantQuery.cs
- XmlSchemaComplexContentExtension.cs
- TextDecorationCollection.cs
- HostSecurityManager.cs
- ErrorTableItemStyle.cs
- WebPartDescription.cs
- ZipPackagePart.cs
- XPathEmptyIterator.cs
- ADConnectionHelper.cs
- InboundActivityHelper.cs
- AuthStoreRoleProvider.cs
- SoapReflectionImporter.cs
- FacetChecker.cs
- SerializerDescriptor.cs
- LocatorGroup.cs
- SplineKeyFrames.cs
- HttpListenerContext.cs
- TypeInitializationException.cs
- XmlElementList.cs
- processwaithandle.cs
- PrivilegedConfigurationManager.cs
- WebHeaderCollection.cs
- SqlConnectionStringBuilder.cs
- ReachNamespaceInfo.cs
- CqlBlock.cs
- PixelShader.cs
- WriteFileContext.cs
- DragStartedEventArgs.cs
- DocumentCollection.cs
- ApplicationBuildProvider.cs
- FileSystemInfo.cs
- FixedSOMContainer.cs
- ThreadLocal.cs
- ETagAttribute.cs
- HtmlAnchor.cs
- IndexExpression.cs
- Serializer.cs
- NativeMethods.cs
- TextSelectionHelper.cs