Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeDirectiveCollection.cs / 1305376 / CodeDirectiveCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable() ] public class CodeDirectiveCollection : CollectionBase { public CodeDirectiveCollection() { } public CodeDirectiveCollection(CodeDirectiveCollection value) { this.AddRange(value); } public CodeDirectiveCollection(CodeDirective[] value) { this.AddRange(value); } public CodeDirective this[int index] { get { return ((CodeDirective)(List[index])); } set { List[index] = value; } } public int Add(CodeDirective value) { return List.Add(value); } public void AddRange(CodeDirective[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } public void AddRange(CodeDirectiveCollection 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]); } } public bool Contains(CodeDirective value) { return List.Contains(value); } public void CopyTo(CodeDirective[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CodeDirective value) { return List.IndexOf(value); } public void Insert(int index, CodeDirective value) { List.Insert(index, value); } public void Remove(CodeDirective value) { List.Remove(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[....] // Copyright (c) Microsoft Corporation. All rights reserved. //
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindingNavigatorDesigner.cs
- OwnerDrawPropertyBag.cs
- TextParentUndoUnit.cs
- SQLInt16.cs
- initElementDictionary.cs
- MetadataItemEmitter.cs
- CurrencyManager.cs
- ipaddressinformationcollection.cs
- NoneExcludedImageIndexConverter.cs
- WindowsNonControl.cs
- RouteItem.cs
- SQLInt32.cs
- EDesignUtil.cs
- KnownTypes.cs
- Utils.cs
- BypassElementCollection.cs
- SqlProvider.cs
- XamlFilter.cs
- _Win32.cs
- PhysicalOps.cs
- DataErrorValidationRule.cs
- ClientScriptManagerWrapper.cs
- CustomAttributeFormatException.cs
- SqlDataSourceConfigureFilterForm.cs
- DataFormats.cs
- KeySplineConverter.cs
- TagPrefixCollection.cs
- Bind.cs
- PassportAuthentication.cs
- XhtmlTextWriter.cs
- ProcessDesigner.cs
- TemplateEditingVerb.cs
- SafeCancelMibChangeNotify.cs
- ElementMarkupObject.cs
- Column.cs
- ObservableDictionary.cs
- DBSqlParserTable.cs
- XmlNullResolver.cs
- ResourceReferenceKeyNotFoundException.cs
- HierarchicalDataSourceIDConverter.cs
- MetadataResolver.cs
- CompositeActivityDesigner.cs
- StyleConverter.cs
- XPathBinder.cs
- ListCollectionView.cs
- AllMembershipCondition.cs
- StreamResourceInfo.cs
- Perspective.cs
- PropertiesTab.cs
- ByteFacetDescriptionElement.cs
- UncommonField.cs
- TrackBar.cs
- RequestUriProcessor.cs
- SQLMoney.cs
- SqlDataSourceTableQuery.cs
- ComplexObject.cs
- InternalCache.cs
- XmlSchemaImporter.cs
- FormViewDeletedEventArgs.cs
- ServiceAppDomainAssociationProvider.cs
- DocumentGrid.cs
- initElementDictionary.cs
- DataProviderNameConverter.cs
- ObjectCacheHost.cs
- DataBinding.cs
- GregorianCalendarHelper.cs
- UIElement3D.cs
- DbConnectionPoolIdentity.cs
- HandledEventArgs.cs
- DataControlCommands.cs
- coordinator.cs
- PageBuildProvider.cs
- RankException.cs
- Storyboard.cs
- InfiniteTimeSpanConverter.cs
- XmlMembersMapping.cs
- ProtocolInformationWriter.cs
- TypedDataSetSchemaImporterExtension.cs
- SystemParameters.cs
- ellipse.cs
- DataRecordInternal.cs
- WorkflowRuntimeSection.cs
- Serializer.cs
- HebrewCalendar.cs
- SecurityDocument.cs
- GeneralTransform3DGroup.cs
- DeferredElementTreeState.cs
- TemplateControlParser.cs
- RefType.cs
- Documentation.cs
- MouseActionValueSerializer.cs
- AspNetHostingPermission.cs
- Point3DCollectionConverter.cs
- printdlgexmarshaler.cs
- ContextActivityUtils.cs
- AnimationStorage.cs
- HttpResponseHeader.cs
- SQLSingle.cs
- CornerRadiusConverter.cs
- XmlResolver.cs