Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved.Returns the index of a ///in /// the .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormDocumentDesigner.cs
- SettingsPropertyCollection.cs
- TextDecorationCollection.cs
- IndentTextWriter.cs
- RegexNode.cs
- GlobalAllocSafeHandle.cs
- TextViewBase.cs
- XmlAttributeCache.cs
- EditorPartDesigner.cs
- DBDataPermission.cs
- HttpCookiesSection.cs
- PropertyGridEditorPart.cs
- DetailsViewInsertedEventArgs.cs
- PersonalizablePropertyEntry.cs
- MenuItemStyle.cs
- EmptyQuery.cs
- RandomDelaySendsAsyncResult.cs
- TripleDES.cs
- EventMetadata.cs
- SoapIncludeAttribute.cs
- HashLookup.cs
- CustomSignedXml.cs
- DecoderFallbackWithFailureFlag.cs
- DynamicDataResources.Designer.cs
- HtmlElementEventArgs.cs
- ModelToObjectValueConverter.cs
- MappableObjectManager.cs
- XmlSchemaComplexContent.cs
- SqlNodeAnnotation.cs
- GridViewColumnHeader.cs
- ObjectStateManagerMetadata.cs
- Monitor.cs
- WebPartCatalogAddVerb.cs
- FilterableAttribute.cs
- LayoutSettings.cs
- RegexCapture.cs
- UriTemplateLiteralQueryValue.cs
- CommandConverter.cs
- WmpBitmapDecoder.cs
- IPAddressCollection.cs
- MethodInfo.cs
- EventLogPermissionEntryCollection.cs
- DataGridTablesFactory.cs
- MemberInitExpression.cs
- ObjectToken.cs
- DataFieldConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- XmlElementAttribute.cs
- ToolZoneDesigner.cs
- UpdateProgress.cs
- HttpWriter.cs
- followingquery.cs
- DynamicControlParameter.cs
- ZeroOpNode.cs
- EntityChangedParams.cs
- OleDbStruct.cs
- CornerRadius.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- CanExecuteRoutedEventArgs.cs
- ResourceReader.cs
- RequestContext.cs
- ActivitySurrogate.cs
- ObjectDataSourceEventArgs.cs
- ServiceDescription.cs
- OutKeywords.cs
- WinFormsSecurity.cs
- ScrollItemProviderWrapper.cs
- RootBrowserWindowProxy.cs
- httpapplicationstate.cs
- WebReferencesBuildProvider.cs
- XmlSchemaObject.cs
- DesignerSelectionListAdapter.cs
- DataBoundControl.cs
- Application.cs
- XmlSchemaSet.cs
- DebugHandleTracker.cs
- QueryCacheManager.cs
- RemotingServices.cs
- ExpandedWrapper.cs
- DSACryptoServiceProvider.cs
- ScriptingProfileServiceSection.cs
- DirectoryRootQuery.cs
- Events.cs
- ServerValidateEventArgs.cs
- TreeNodeBinding.cs
- StylusButtonCollection.cs
- WindowsGraphicsCacheManager.cs
- HtmlMeta.cs
- GroupQuery.cs
- querybuilder.cs
- WebPartTracker.cs
- DesignerActionVerbItem.cs
- EndpointAddress10.cs
- OSFeature.cs
- Span.cs
- WebPart.cs
- Int32CollectionValueSerializer.cs
- XmlLoader.cs
- TransactionTable.cs
- DeferredElementTreeState.cs