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
- PenThreadWorker.cs
- UserPersonalizationStateInfo.cs
- SchemaComplexType.cs
- WaitForChangedResult.cs
- ListViewItemMouseHoverEvent.cs
- WebBrowserEvent.cs
- PersonalizationStateQuery.cs
- XamlValidatingReader.cs
- XmlSchemaCompilationSettings.cs
- XpsS0ValidatingLoader.cs
- ShaperBuffers.cs
- DbProviderServices.cs
- DbConnectionPoolCounters.cs
- XmlAnyAttributeAttribute.cs
- Baml2006ReaderSettings.cs
- HtmlControl.cs
- XmlSchemaElement.cs
- Calendar.cs
- IndexerNameAttribute.cs
- OLEDB_Enum.cs
- Registry.cs
- ConfigurationSection.cs
- XmlSerializationWriter.cs
- ViewStateModeByIdAttribute.cs
- hwndwrapper.cs
- State.cs
- Wizard.cs
- ReservationCollection.cs
- RandomDelayQueuedSendsAsyncResult.cs
- RefExpr.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DocumentPageTextView.cs
- CodeStatementCollection.cs
- DataTableReaderListener.cs
- WebPartTransformerCollection.cs
- WorkItem.cs
- TextBox.cs
- MainMenu.cs
- WindowsListViewSubItem.cs
- AssemblyResourceLoader.cs
- ScriptRef.cs
- RequestNavigateEventArgs.cs
- FrameworkElement.cs
- RoutedCommand.cs
- ExeConfigurationFileMap.cs
- SQLByte.cs
- HMAC.cs
- LiteralText.cs
- XsltInput.cs
- SafeSecurityHelper.cs
- HighlightOverlayGlyph.cs
- UnsafeNativeMethods.cs
- StringArrayConverter.cs
- Atom10FormatterFactory.cs
- BypassElement.cs
- FontFamily.cs
- AdornerLayer.cs
- Int32EqualityComparer.cs
- NetworkStream.cs
- EntitySqlException.cs
- ProfileSettings.cs
- NativeMethods.cs
- TransformerConfigurationWizardBase.cs
- _ProxyRegBlob.cs
- DataColumn.cs
- WindowClosedEventArgs.cs
- SafeSystemMetrics.cs
- ReadContentAsBinaryHelper.cs
- WindowsFont.cs
- WebPartConnectionsConfigureVerb.cs
- Cloud.cs
- SmtpCommands.cs
- WebBaseEventKeyComparer.cs
- GrammarBuilderDictation.cs
- EntityDataSourceMemberPath.cs
- MediaSystem.cs
- EdmComplexPropertyAttribute.cs
- MD5HashHelper.cs
- X509SecurityTokenAuthenticator.cs
- Sentence.cs
- GlobalProxySelection.cs
- ActivityInterfaces.cs
- PrintPreviewGraphics.cs
- ParallelTimeline.cs
- EntityDescriptor.cs
- MemberAccessException.cs
- XmlILAnnotation.cs
- COM2ICategorizePropertiesHandler.cs
- FormViewDeleteEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- TailCallAnalyzer.cs
- BuildProviderCollection.cs
- CheckBoxAutomationPeer.cs
- Drawing.cs
- SqlComparer.cs
- SuppressMergeCheckAttribute.cs
- AdornerLayer.cs
- DrawingGroup.cs
- XmlSortKey.cs
- PolicyAssertionCollection.cs