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
- GridItem.cs
- HwndSourceKeyboardInputSite.cs
- HistoryEventArgs.cs
- DesignerCategoryAttribute.cs
- RelationshipConverter.cs
- StreamedFramingRequestChannel.cs
- MonitoringDescriptionAttribute.cs
- Message.cs
- AutoGeneratedField.cs
- SoapFormatter.cs
- RepeatButtonAutomationPeer.cs
- StringToken.cs
- XmlAggregates.cs
- InvokeMethodActivityDesigner.cs
- TagMapInfo.cs
- StateMachineSubscription.cs
- Inline.cs
- DataControlPagerLinkButton.cs
- DispatchChannelSink.cs
- WebResourceAttribute.cs
- MembershipUser.cs
- XmlILModule.cs
- SqlHelper.cs
- NumericUpDownAcceleration.cs
- LayoutEditorPart.cs
- SafeNativeMethodsMilCoreApi.cs
- objectquery_tresulttype.cs
- Part.cs
- IApplicationTrustManager.cs
- LongAverageAggregationOperator.cs
- ExtensionQuery.cs
- SqlUserDefinedTypeAttribute.cs
- HtmlTextArea.cs
- OptimizedTemplateContent.cs
- Timer.cs
- TextMetrics.cs
- WebPartDescriptionCollection.cs
- XPathNavigatorKeyComparer.cs
- FileSecurity.cs
- ReliabilityContractAttribute.cs
- RectangleHotSpot.cs
- ScriptControlManager.cs
- SafeReversePInvokeHandle.cs
- ExecutionContext.cs
- ACL.cs
- EdgeModeValidation.cs
- PageSettings.cs
- BooleanAnimationBase.cs
- XmlQualifiedNameTest.cs
- SafeHandles.cs
- serverconfig.cs
- Util.cs
- FixedSOMTextRun.cs
- AspNetCacheProfileAttribute.cs
- MenuScrollingVisibilityConverter.cs
- ExtendedProtectionPolicy.cs
- LocalServiceSecuritySettings.cs
- WorkflowServiceHostFactory.cs
- LinkUtilities.cs
- mediaeventshelper.cs
- TabControlAutomationPeer.cs
- State.cs
- TextServicesCompartment.cs
- DeploymentSection.cs
- EmptyQuery.cs
- Margins.cs
- ListBox.cs
- Directory.cs
- ListControl.cs
- Int32CAMarshaler.cs
- _IPv6Address.cs
- RemoteWebConfigurationHostServer.cs
- DocumentXmlWriter.cs
- MultipleViewPatternIdentifiers.cs
- CompiledQuery.cs
- PropertyPushdownHelper.cs
- invalidudtexception.cs
- Decoder.cs
- TransportationConfigurationTypeInstallComponent.cs
- SqlUserDefinedAggregateAttribute.cs
- TargetControlTypeAttribute.cs
- XmlSiteMapProvider.cs
- SimpleExpression.cs
- PageThemeParser.cs
- OleDbConnectionFactory.cs
- MSAANativeProvider.cs
- DataGridViewTextBoxEditingControl.cs
- ManagementPath.cs
- MethodRental.cs
- QueueAccessMode.cs
- JsonReader.cs
- Localizer.cs
- WindowsFormsHelpers.cs
- FixedSOMFixedBlock.cs
- AttributeUsageAttribute.cs
- CategoryNameCollection.cs
- EncodedStreamFactory.cs
- xsdvalidator.cs
- WebBrowserProgressChangedEventHandler.cs
- ContentOperations.cs