Code:
/ FX-1434 / FX-1434 / 1.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
- AspNetSynchronizationContext.cs
- LocatorManager.cs
- FormatConvertedBitmap.cs
- UpDownBase.cs
- QuaternionRotation3D.cs
- DefaultPerformanceCounters.cs
- _UriSyntax.cs
- HierarchicalDataBoundControlAdapter.cs
- OdbcInfoMessageEvent.cs
- SoapFault.cs
- PeerNameRegistration.cs
- InternalMappingException.cs
- EdmToObjectNamespaceMap.cs
- OleDbTransaction.cs
- XmlSchemaSimpleTypeUnion.cs
- SimpleApplicationHost.cs
- Serializer.cs
- CompilerError.cs
- ClientApiGenerator.cs
- GZipStream.cs
- XmlSchemaSimpleContent.cs
- XmlNodeComparer.cs
- StreamWriter.cs
- SqlRowUpdatingEvent.cs
- BulletDecorator.cs
- CompiledIdentityConstraint.cs
- Validator.cs
- RecordConverter.cs
- SchemaTypeEmitter.cs
- ListSortDescription.cs
- ColumnProvider.cs
- SamlSubject.cs
- ListViewGroupItemCollection.cs
- DictionaryMarkupSerializer.cs
- LicenseContext.cs
- XmlSchemaSimpleContentRestriction.cs
- SessionSwitchEventArgs.cs
- CustomAttributeSerializer.cs
- RegexRunnerFactory.cs
- SchemaObjectWriter.cs
- PersistenceContextEnlistment.cs
- TextTreeInsertUndoUnit.cs
- HebrewNumber.cs
- HttpAsyncResult.cs
- PathGeometry.cs
- HttpCookiesSection.cs
- ProcessingInstructionAction.cs
- MdiWindowListStrip.cs
- WebDescriptionAttribute.cs
- TargetInvocationException.cs
- ProcessRequestArgs.cs
- DataServiceConfiguration.cs
- DebuggerAttributes.cs
- XmlAttribute.cs
- Panel.cs
- WebPartConnectionsCancelEventArgs.cs
- SystemUdpStatistics.cs
- HebrewCalendar.cs
- ApplicationDirectory.cs
- Simplifier.cs
- FormViewInsertEventArgs.cs
- SimpleRecyclingCache.cs
- LinearQuaternionKeyFrame.cs
- NativeMethodsCLR.cs
- DataTransferEventArgs.cs
- UniqueIdentifierService.cs
- EventLogPermission.cs
- SQLString.cs
- AdRotator.cs
- AnimationException.cs
- X509RawDataKeyIdentifierClause.cs
- TcpConnectionPoolSettings.cs
- UnsafeNativeMethods.cs
- Effect.cs
- ContextStaticAttribute.cs
- CodeDefaultValueExpression.cs
- AppearanceEditorPart.cs
- TextDecorationCollection.cs
- VideoDrawing.cs
- CLSCompliantAttribute.cs
- TraceContextRecord.cs
- Composition.cs
- BaseHashHelper.cs
- PreviewPrintController.cs
- Semaphore.cs
- AsyncSerializedWorker.cs
- SizeConverter.cs
- GeometryHitTestResult.cs
- Executor.cs
- BamlResourceSerializer.cs
- ServiceChannelFactory.cs
- PtsCache.cs
- XmlAttributes.cs
- DefaultMemberAttribute.cs
- CacheEntry.cs
- SqlStatistics.cs
- CopyOfAction.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- TcpProcessProtocolHandler.cs
- MatrixCamera.cs