Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // ------------------------------------------------------------------------------ //Returns the index of a ///in /// the . // 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
- XmlCountingReader.cs
- Roles.cs
- CreationContext.cs
- ChannelManager.cs
- ACE.cs
- RawStylusActions.cs
- InlineObject.cs
- DataSpaceManager.cs
- Pair.cs
- UpdateTranslator.cs
- RSAPKCS1SignatureDeformatter.cs
- IISUnsafeMethods.cs
- keycontainerpermission.cs
- SecurityHeaderTokenResolver.cs
- ForwardPositionQuery.cs
- DesignerTextViewAdapter.cs
- EntityCollection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- XPathNavigatorReader.cs
- OneOfScalarConst.cs
- ContentPresenter.cs
- LinqDataSourceStatusEventArgs.cs
- DataRecordInfo.cs
- PerformanceCounterPermissionAttribute.cs
- ExpressionBuilder.cs
- TypedReference.cs
- RoutedEventValueSerializer.cs
- Int32AnimationBase.cs
- PartialList.cs
- BindingListCollectionView.cs
- Base64Encoding.cs
- FormsAuthenticationModule.cs
- ExtensibleSyndicationObject.cs
- AnchorEditor.cs
- UpdateDelegates.Generated.cs
- QueryConverter.cs
- PageVisual.cs
- ItemCollectionEditor.cs
- WebPartZoneBaseDesigner.cs
- ValidatorCollection.cs
- NumberFormatInfo.cs
- ButtonFieldBase.cs
- BeginSelectCardRequest.cs
- RedistVersionInfo.cs
- CustomWebEventKey.cs
- Deflater.cs
- ColorConvertedBitmapExtension.cs
- ImageFormatConverter.cs
- _DomainName.cs
- BitmapEffectInputData.cs
- ExecutedRoutedEventArgs.cs
- ClientSideProviderDescription.cs
- StrokeCollectionConverter.cs
- NamespaceList.cs
- ModelService.cs
- Root.cs
- TagMapCollection.cs
- OdbcConnectionString.cs
- QueryRewriter.cs
- MediaSystem.cs
- DesignTimeTemplateParser.cs
- MsmqBindingFilter.cs
- UnionExpr.cs
- UpDownBase.cs
- PanelStyle.cs
- TemplateContent.cs
- ProfilePropertySettings.cs
- SafeNativeMethods.cs
- CodeBinaryOperatorExpression.cs
- CookieParameter.cs
- OpCodes.cs
- PackWebRequestFactory.cs
- DSASignatureFormatter.cs
- QuerySubExprEliminator.cs
- SqlSupersetValidator.cs
- LoginView.cs
- BeginEvent.cs
- CategoryGridEntry.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DoubleAnimationBase.cs
- LayoutSettings.cs
- AnchorEditor.cs
- ComponentFactoryHelpers.cs
- DuplexChannelBinder.cs
- WSHttpSecurityElement.cs
- TextServicesHost.cs
- ThreadAttributes.cs
- EventSetter.cs
- WebPartActionVerb.cs
- FilterableAttribute.cs
- ListViewAutomationPeer.cs
- KnownAssembliesSet.cs
- CancellationHandlerDesigner.cs
- SchemaLookupTable.cs
- ActivityTypeResolver.xaml.cs
- CodeExporter.cs
- VScrollProperties.cs
- Int16Converter.cs
- HashSet.cs
- HostExecutionContextManager.cs