Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Design / CategoryNameCollection.cs / 1 / CategoryNameCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.Drawing.Design { using System; using System.Collections; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class CategoryNameCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public CategoryNameCollection(CategoryNameCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public CategoryNameCollection(String[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public string this[int index] { get { return ((string)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(string value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(String[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(string value) { return InnerList.IndexOf(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //Returns the index of a ///in /// the . // Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.Drawing.Design { using System; using System.Collections; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class CategoryNameCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public CategoryNameCollection(CategoryNameCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public CategoryNameCollection(String[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public string this[int index] { get { return ((string)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(string value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(String[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(string value) { return InnerList.IndexOf(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Returns the index of a ///in /// the .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StringFormat.cs
- MergeExecutor.cs
- ReaderWriterLock.cs
- basecomparevalidator.cs
- TransactionFlowBindingElementImporter.cs
- PlatformCulture.cs
- SimpleHandlerFactory.cs
- ScrollChrome.cs
- BindingListCollectionView.cs
- TrustManagerPromptUI.cs
- ContentPresenter.cs
- QuadraticBezierSegment.cs
- ASCIIEncoding.cs
- SqlOuterApplyReducer.cs
- UpdateExpressionVisitor.cs
- XpsInterleavingPolicy.cs
- ListViewAutomationPeer.cs
- SqlNodeAnnotation.cs
- CompareValidator.cs
- PageAsyncTaskManager.cs
- PipeSecurity.cs
- SelectionGlyphBase.cs
- EntitySetBaseCollection.cs
- CounterSampleCalculator.cs
- TreeViewBindingsEditor.cs
- Assign.cs
- HttpFileCollection.cs
- MasterPageParser.cs
- JsonReader.cs
- WsdlBuildProvider.cs
- InputScopeManager.cs
- CompositionTarget.cs
- RestHandler.cs
- ModelEditingScope.cs
- TextAnchor.cs
- ArraySortHelper.cs
- XmlSerializer.cs
- VisualStyleRenderer.cs
- ReaderContextStackData.cs
- ActivationServices.cs
- UrlAuthorizationModule.cs
- ResourcePermissionBase.cs
- CollectionDataContract.cs
- PackageProperties.cs
- unsafenativemethodsother.cs
- SchemaConstraints.cs
- GridItemCollection.cs
- BitmapEffectRenderDataResource.cs
- TrustManagerMoreInformation.cs
- Frame.cs
- Cursors.cs
- RequiredFieldValidator.cs
- EntityClassGenerator.cs
- Pkcs7Signer.cs
- DrawingCollection.cs
- TextMarkerSource.cs
- PcmConverter.cs
- entitydatasourceentitysetnameconverter.cs
- ProcessActivityTreeOptions.cs
- XmlSchemaSet.cs
- RNGCryptoServiceProvider.cs
- HttpStreamXmlDictionaryReader.cs
- XmlSchemaAnnotated.cs
- CodeExpressionRuleDeclaration.cs
- CompilerInfo.cs
- SqlGatherConsumedAliases.cs
- X509CertificateCollection.cs
- GuidelineCollection.cs
- WebBrowserContainer.cs
- ReflectEventDescriptor.cs
- SizeChangedInfo.cs
- IteratorFilter.cs
- MailAddress.cs
- SchemaCollectionCompiler.cs
- UriTemplateMatch.cs
- ResizeGrip.cs
- HierarchicalDataTemplate.cs
- Matrix.cs
- MemberRestriction.cs
- StateManagedCollection.cs
- StylusEventArgs.cs
- DbConnectionFactory.cs
- ComPlusServiceLoader.cs
- SettingsProperty.cs
- altserialization.cs
- SqlCacheDependencySection.cs
- MenuTracker.cs
- XmlSerializerAssemblyAttribute.cs
- WebBrowserBase.cs
- XmlSchemaSimpleContentExtension.cs
- ConfigXmlDocument.cs
- EventLogger.cs
- base64Transforms.cs
- UserControlParser.cs
- DataGridSortCommandEventArgs.cs
- RequestQueue.cs
- WindowPatternIdentifiers.cs
- SqlDataSource.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AssemblyInfo.cs