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
- HealthMonitoringSection.cs
- FloaterBaseParaClient.cs
- HostingEnvironment.cs
- InputReferenceExpression.cs
- ObjectConverter.cs
- EventDescriptor.cs
- ViewStateAttachedPropertyFeature.cs
- XPathNodeList.cs
- ClrPerspective.cs
- SqlXmlStorage.cs
- StylusTouchDevice.cs
- XmlAtomicValue.cs
- ActivityCodeDomSerializer.cs
- KnownColorTable.cs
- _NestedMultipleAsyncResult.cs
- HttpHandlersSection.cs
- ReflectionUtil.cs
- PageRequestManager.cs
- TreeNodeStyleCollection.cs
- CodeTypeMember.cs
- KeyValueSerializer.cs
- OutputCacheSettings.cs
- DataBindingCollection.cs
- EdmSchemaAttribute.cs
- Debugger.cs
- SmiSettersStream.cs
- FunctionQuery.cs
- Transform.cs
- SqlDataReader.cs
- NativeActivityFaultContext.cs
- TextEditorThreadLocalStore.cs
- SeekStoryboard.cs
- SocketInformation.cs
- TextContainerChangedEventArgs.cs
- DataStreamFromComStream.cs
- WSTransactionSection.cs
- EdmComplexTypeAttribute.cs
- XmlStringTable.cs
- ConnectorDragDropGlyph.cs
- RectIndependentAnimationStorage.cs
- MemberDescriptor.cs
- MethodRental.cs
- TextTrailingWordEllipsis.cs
- ValueTable.cs
- diagnosticsswitches.cs
- XamlTreeBuilderBamlRecordWriter.cs
- FrameworkTemplate.cs
- ObjectToken.cs
- SourceFileBuildProvider.cs
- XmlCharCheckingWriter.cs
- WebReferencesBuildProvider.cs
- VoiceSynthesis.cs
- SQLInt32Storage.cs
- ScrollBarRenderer.cs
- RelationHandler.cs
- Dump.cs
- OdbcStatementHandle.cs
- StateDesigner.TransitionInfo.cs
- SqlStatistics.cs
- SelectorItemAutomationPeer.cs
- cookiecontainer.cs
- HttpDebugHandler.cs
- TimelineCollection.cs
- EntityDataSourceDesigner.cs
- HtmlTitle.cs
- FlowPosition.cs
- PeerChannelListener.cs
- PageContentCollection.cs
- Soap.cs
- WindowsComboBox.cs
- Win32KeyboardDevice.cs
- ProcessHostFactoryHelper.cs
- Schema.cs
- InputMethodStateTypeInfo.cs
- AudioLevelUpdatedEventArgs.cs
- TdsParameterSetter.cs
- MailWriter.cs
- ContentPathSegment.cs
- DataComponentGenerator.cs
- RevocationPoint.cs
- CollectionChangeEventArgs.cs
- ToolStripLabel.cs
- AttachedAnnotation.cs
- TextTreeDeleteContentUndoUnit.cs
- Transform.cs
- LayoutTableCell.cs
- ColorTransformHelper.cs
- ReceiveCompletedEventArgs.cs
- Util.cs
- MessageSecurityProtocolFactory.cs
- HierarchicalDataSourceControl.cs
- AtomMaterializer.cs
- FixedTextSelectionProcessor.cs
- Pair.cs
- ArrayWithOffset.cs
- SetMemberBinder.cs
- DataGridLinkButton.cs
- OperationSelectorBehavior.cs
- HashAlgorithm.cs
- CustomCategoryAttribute.cs