Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CodeObject.cs
- RegexWorker.cs
- DataTemplate.cs
- CryptoKeySecurity.cs
- TemplateKeyConverter.cs
- ClosableStream.cs
- AnnotationMap.cs
- ECDiffieHellmanCng.cs
- RepeaterItemEventArgs.cs
- HwndTarget.cs
- MachineKeySection.cs
- XmlSignatureProperties.cs
- BaseTemplateParser.cs
- ProcessDesigner.cs
- ContainerCodeDomSerializer.cs
- ListItemCollection.cs
- OleDbDataAdapter.cs
- NetworkStream.cs
- TraceContextEventArgs.cs
- Tag.cs
- XmlIterators.cs
- DecryptRequest.cs
- ReferenceConverter.cs
- ListBindableAttribute.cs
- FactoryRecord.cs
- CssClassPropertyAttribute.cs
- PerformanceCounterPermission.cs
- HotSpotCollection.cs
- PageOutputQuality.cs
- UserControl.cs
- Inflater.cs
- UnsafeNativeMethods.cs
- WebCodeGenerator.cs
- EncoderExceptionFallback.cs
- IdentityValidationException.cs
- BaseHashHelper.cs
- CodePrimitiveExpression.cs
- UserValidatedEventArgs.cs
- Timeline.cs
- InstanceKeyNotReadyException.cs
- WindowsScrollBar.cs
- SafeNativeMethodsCLR.cs
- VisualBrush.cs
- Attributes.cs
- TextTreeObjectNode.cs
- FieldToken.cs
- RectValueSerializer.cs
- BaseCodeDomTreeGenerator.cs
- CodeBlockBuilder.cs
- clipboard.cs
- PageThemeParser.cs
- ValueType.cs
- AudioStateChangedEventArgs.cs
- XmlObjectSerializerReadContext.cs
- BitmapDecoder.cs
- Hash.cs
- CodeAttributeArgumentCollection.cs
- ToolStripItemClickedEventArgs.cs
- TagMapInfo.cs
- WebPartCollection.cs
- EmptyStringExpandableObjectConverter.cs
- DisplayMemberTemplateSelector.cs
- sqlmetadatafactory.cs
- SafeViewOfFileHandle.cs
- VariableQuery.cs
- EndpointFilterProvider.cs
- ValueHandle.cs
- FlowLayoutSettings.cs
- OleDbErrorCollection.cs
- ListViewInsertedEventArgs.cs
- ManipulationDevice.cs
- LockCookie.cs
- IteratorFilter.cs
- ServiceNameElement.cs
- TextTreeTextElementNode.cs
- WorkflowRuntimeService.cs
- Visitors.cs
- RuntimeHandles.cs
- CategoryNameCollection.cs
- UrlUtility.cs
- BinaryParser.cs
- XsdDateTime.cs
- HttpException.cs
- ContextBase.cs
- ConvertEvent.cs
- InputDevice.cs
- InOutArgumentConverter.cs
- ListChangedEventArgs.cs
- FontCollection.cs
- XsltFunctions.cs
- ChangeConflicts.cs
- NavigationPropertySingletonExpression.cs
- ClockController.cs
- PolyLineSegmentFigureLogic.cs
- NameObjectCollectionBase.cs
- SkewTransform.cs
- WinFormsComponentEditor.cs
- PropertyEntry.cs
- GetIsBrowserClientRequest.cs
- ByteAnimationBase.cs