Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / CategoryNameCollection.cs / 1305376 / 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 .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlObjectListAdapter.cs
- _CacheStreams.cs
- SimpleRecyclingCache.cs
- ConfigurationStrings.cs
- _ScatterGatherBuffers.cs
- NullEntityWrapper.cs
- WindowsPrincipal.cs
- NameValueFileSectionHandler.cs
- SecurityContextSecurityTokenResolver.cs
- ServerReliableChannelBinder.cs
- SuppressMergeCheckAttribute.cs
- DataGridViewUtilities.cs
- IPCCacheManager.cs
- HttpRequest.cs
- EnvelopedPkcs7.cs
- BrowserCapabilitiesFactoryBase.cs
- DependencyObjectType.cs
- WindowsListViewItemCheckBox.cs
- NavigationService.cs
- HttpModulesSection.cs
- ConnectorMovedEventArgs.cs
- FontStyleConverter.cs
- backend.cs
- RTLAwareMessageBox.cs
- PersonalizationProvider.cs
- ByteStorage.cs
- SiteMapProvider.cs
- Configuration.cs
- DateTimeAutomationPeer.cs
- SecurityTokenContainer.cs
- Rfc2898DeriveBytes.cs
- FunctionNode.cs
- _ConnectOverlappedAsyncResult.cs
- TabRenderer.cs
- ConfigXmlWhitespace.cs
- PerformanceCounters.cs
- Permission.cs
- validationstate.cs
- QilList.cs
- AssemblyCollection.cs
- XhtmlBasicTextBoxAdapter.cs
- ForEachAction.cs
- JsonQNameDataContract.cs
- _SSPIWrapper.cs
- WebProxyScriptElement.cs
- SubMenuStyleCollection.cs
- UICuesEvent.cs
- LocatorPart.cs
- ScriptingWebServicesSectionGroup.cs
- BinaryMessageFormatter.cs
- SchemaTypeEmitter.cs
- RegexMatch.cs
- SuppressMessageAttribute.cs
- XmlResolver.cs
- PagedDataSource.cs
- GregorianCalendarHelper.cs
- SqlStatistics.cs
- CheckPair.cs
- ExclusiveTcpTransportManager.cs
- WSFederationHttpBindingElement.cs
- IndependentAnimationStorage.cs
- VScrollBar.cs
- RemotingServices.cs
- mansign.cs
- DefaultTraceListener.cs
- XmlNamespaceDeclarationsAttribute.cs
- FunctionParameter.cs
- DynamicResourceExtension.cs
- RevocationPoint.cs
- TextCollapsingProperties.cs
- GlyphShapingProperties.cs
- DynamicPropertyReader.cs
- ThrowHelper.cs
- RegisteredDisposeScript.cs
- ProtectedConfiguration.cs
- SafeBitVector32.cs
- FeatureSupport.cs
- RSAProtectedConfigurationProvider.cs
- TemplateXamlTreeBuilder.cs
- PreviewKeyDownEventArgs.cs
- WsatConfiguration.cs
- ConfigXmlSignificantWhitespace.cs
- Statements.cs
- ConvertersCollection.cs
- ResourceManager.cs
- SingleObjectCollection.cs
- Baml2006KeyRecord.cs
- TextOutput.cs
- GacUtil.cs
- ReadOnlyDataSource.cs
- Margins.cs
- HtmlButton.cs
- RegexRunnerFactory.cs
- DataReceivedEventArgs.cs
- PropagatorResult.cs
- ListBase.cs
- DockProviderWrapper.cs
- JsonReaderWriterFactory.cs
- TimersDescriptionAttribute.cs
- TemplateInstanceAttribute.cs