Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClauseCollection.cs / 1305376 / CodeCatchClauseCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- TimersDescriptionAttribute.cs
- AQNBuilder.cs
- MLangCodePageEncoding.cs
- PageClientProxyGenerator.cs
- SmtpException.cs
- ActionMismatchAddressingException.cs
- IntSecurity.cs
- ParameterModifier.cs
- ToolStripContentPanel.cs
- JoinElimination.cs
- WCFServiceClientProxyGenerator.cs
- fixedPageContentExtractor.cs
- Peer.cs
- ConstraintStruct.cs
- CompositeCollection.cs
- SecurityChannelFactory.cs
- SerialErrors.cs
- StagingAreaInputItem.cs
- ProvidePropertyAttribute.cs
- FixedDSBuilder.cs
- SQLDateTimeStorage.cs
- MultidimensionalArrayItemReference.cs
- DataGridViewCellStyle.cs
- XmlTypeMapping.cs
- ArrayHelper.cs
- RepeatBehaviorConverter.cs
- InternalsVisibleToAttribute.cs
- IgnoreDataMemberAttribute.cs
- FixedTextContainer.cs
- ListChunk.cs
- StylusPointDescription.cs
- AbstractDataSvcMapFileLoader.cs
- IteratorDescriptor.cs
- EditingMode.cs
- GridViewRow.cs
- Stroke.cs
- FloatUtil.cs
- HtmlElementErrorEventArgs.cs
- Camera.cs
- ListBindableAttribute.cs
- SchemaTableColumn.cs
- XpsFixedPageReaderWriter.cs
- Schema.cs
- Convert.cs
- BaseHashHelper.cs
- HttpCachePolicyBase.cs
- GridViewColumnCollection.cs
- MemberAccessException.cs
- FormsAuthentication.cs
- SHA512Managed.cs
- KeyNotFoundException.cs
- ArrowControl.xaml.cs
- OracleDataReader.cs
- ToolStripScrollButton.cs
- DelimitedListTraceListener.cs
- CultureSpecificCharacterBufferRange.cs
- ContentPlaceHolder.cs
- ImageSource.cs
- RequestResizeEvent.cs
- RequiredFieldValidator.cs
- TraceSwitch.cs
- EndpointIdentityConverter.cs
- Constraint.cs
- ObjectDataSourceSelectingEventArgs.cs
- WebPartMovingEventArgs.cs
- DemultiplexingClientMessageFormatter.cs
- BamlStream.cs
- FunctionOverloadResolver.cs
- RuntimeResourceSet.cs
- HttpHandlerActionCollection.cs
- WindowsEditBox.cs
- ServerValidateEventArgs.cs
- SchemaContext.cs
- SessionStateUtil.cs
- ByeOperationCD1AsyncResult.cs
- CodePrimitiveExpression.cs
- CategoryAttribute.cs
- SelectorItemAutomationPeer.cs
- RegexCaptureCollection.cs
- AccessKeyManager.cs
- StylusTouchDevice.cs
- ColumnPropertiesGroup.cs
- TranslateTransform.cs
- FormViewCommandEventArgs.cs
- WorkflowTerminatedException.cs
- QilXmlReader.cs
- UnsafeNativeMethodsCLR.cs
- SmtpCommands.cs
- ServiceNameCollection.cs
- DataDocumentXPathNavigator.cs
- ListItemCollection.cs
- PropertyChangedEventManager.cs
- ToolBar.cs
- DBParameter.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TriggerBase.cs
- ConfigurationSectionHelper.cs
- FontStretches.cs
- PositiveTimeSpanValidatorAttribute.cs
- UpdatePanel.cs