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
- DigitalSignature.cs
- UInt64Converter.cs
- FontStyleConverter.cs
- Int32Storage.cs
- XPathChildIterator.cs
- PlatformNotSupportedException.cs
- ISessionStateStore.cs
- SerializationHelper.cs
- LineSegment.cs
- EmbeddedObject.cs
- HttpModulesSection.cs
- ConfigXmlWhitespace.cs
- TextBoxView.cs
- WebDescriptionAttribute.cs
- CodeEventReferenceExpression.cs
- XslAst.cs
- ListParagraph.cs
- DbModificationCommandTree.cs
- CodeRemoveEventStatement.cs
- SeekStoryboard.cs
- StringOutput.cs
- PackageFilter.cs
- GridViewCommandEventArgs.cs
- DocumentSchemaValidator.cs
- SID.cs
- CommentEmitter.cs
- ProfileGroupSettingsCollection.cs
- ExtenderProviderService.cs
- KeyToListMap.cs
- Drawing.cs
- FixedTextContainer.cs
- AlphaSortedEnumConverter.cs
- SqlException.cs
- OleDbDataReader.cs
- DataGridAutomationPeer.cs
- WindowsListViewGroupSubsetLink.cs
- InternalDispatchObject.cs
- ExpressionEditor.cs
- TableRow.cs
- ExpressionNode.cs
- dsa.cs
- GZipObjectSerializer.cs
- DataControlReference.cs
- DbProviderFactoriesConfigurationHandler.cs
- XslException.cs
- WebPartMinimizeVerb.cs
- JsonReader.cs
- MonikerSyntaxException.cs
- PageCatalogPartDesigner.cs
- ComplexObject.cs
- CookieProtection.cs
- DescendantQuery.cs
- StyleConverter.cs
- AudioLevelUpdatedEventArgs.cs
- AmbiguousMatchException.cs
- MsmqIntegrationElement.cs
- DateTimeFormatInfoScanner.cs
- DayRenderEvent.cs
- NavigationService.cs
- Claim.cs
- DefaultPropertyAttribute.cs
- PasswordBox.cs
- CallbackValidator.cs
- HtmlElementErrorEventArgs.cs
- AdapterDictionary.cs
- AffineTransform3D.cs
- ViewGenerator.cs
- DataTableTypeConverter.cs
- COAUTHIDENTITY.cs
- MultiBinding.cs
- ListItemCollection.cs
- entitydatasourceentitysetnameconverter.cs
- SafeBitVector32.cs
- WebReference.cs
- ReaderOutput.cs
- DigitShape.cs
- ModifierKeysConverter.cs
- ImageClickEventArgs.cs
- DataControlPagerLinkButton.cs
- X509UI.cs
- Tag.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- GlyphRunDrawing.cs
- AssemblyBuilder.cs
- _DynamicWinsockMethods.cs
- AssemblyInfo.cs
- WinFormsSpinner.cs
- DiscoveryService.cs
- ContentElement.cs
- ProcessHostServerConfig.cs
- FrameworkTextComposition.cs
- assertwrapper.cs
- PageSetupDialog.cs
- EdmPropertyAttribute.cs
- FamilyTypeface.cs
- MergeFilterQuery.cs
- WhiteSpaceTrimStringConverter.cs
- FunctionDetailsReader.cs
- unsafenativemethodstextservices.cs