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
- ConnectionPoolManager.cs
- DbConnectionPoolCounters.cs
- TrackingMemoryStreamFactory.cs
- Atom10FormatterFactory.cs
- ItemsChangedEventArgs.cs
- MailAddress.cs
- SetIterators.cs
- ExceptionHandlersDesigner.cs
- SqlRetyper.cs
- WebBrowserEvent.cs
- WorkflowOperationErrorHandler.cs
- DeflateStreamAsyncResult.cs
- RawStylusSystemGestureInputReport.cs
- WFItemsToSpacerVisibility.cs
- CodeAttachEventStatement.cs
- DecimalConverter.cs
- PropertyIDSet.cs
- DependsOnAttribute.cs
- DocumentViewerBaseAutomationPeer.cs
- RawTextInputReport.cs
- TextEditorCharacters.cs
- path.cs
- FixedBufferAttribute.cs
- GraphicsContainer.cs
- HealthMonitoringSectionHelper.cs
- PlainXmlSerializer.cs
- TextFormatterContext.cs
- DynamicScriptObject.cs
- PointAnimationUsingKeyFrames.cs
- KeyValueConfigurationCollection.cs
- TextRunCache.cs
- AccessedThroughPropertyAttribute.cs
- DataGridItem.cs
- SequenceFullException.cs
- ActivityCodeGenerator.cs
- LOSFormatter.cs
- CurrencyWrapper.cs
- RowUpdatedEventArgs.cs
- FindCriteria11.cs
- ParserContext.cs
- EventSchemaTraceListener.cs
- ScaleTransform.cs
- DoubleLinkListEnumerator.cs
- TdsEnums.cs
- FastEncoder.cs
- RowBinding.cs
- SqlBulkCopyColumnMapping.cs
- TextLineBreak.cs
- BlurEffect.cs
- SoapReflectionImporter.cs
- RequestCache.cs
- FixedElement.cs
- TraceProvider.cs
- RuleSetDialog.Designer.cs
- ProxyGenerationError.cs
- XmlIgnoreAttribute.cs
- RegexWriter.cs
- IHttpResponseInternal.cs
- TypeConverterMarkupExtension.cs
- OrderPreservingSpoolingTask.cs
- formatter.cs
- ScheduleChanges.cs
- DataSvcMapFileSerializer.cs
- SafeArrayTypeMismatchException.cs
- PaperSource.cs
- _Connection.cs
- BitmapScalingModeValidation.cs
- DomainUpDown.cs
- FullTextLine.cs
- FontInfo.cs
- SqlDataReaderSmi.cs
- BadImageFormatException.cs
- StatusStrip.cs
- PngBitmapEncoder.cs
- RenderTargetBitmap.cs
- NamedPipeTransportBindingElement.cs
- AudioDeviceOut.cs
- XmlTextEncoder.cs
- ManagementEventArgs.cs
- PropertyChange.cs
- MultiTargetingUtil.cs
- RepeaterItemEventArgs.cs
- DelegateSerializationHolder.cs
- PropertyValue.cs
- SqlRewriteScalarSubqueries.cs
- HttpCookieCollection.cs
- IPipelineRuntime.cs
- SystemColorTracker.cs
- PersonalizablePropertyEntry.cs
- XPathChildIterator.cs
- DataFormats.cs
- HiddenFieldDesigner.cs
- SafeRegistryHandle.cs
- UInt16Converter.cs
- HashAlgorithm.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- BufferModeSettings.cs
- GroupBoxAutomationPeer.cs
- ListItemCollection.cs
- ImageButton.cs