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
- BackgroundFormatInfo.cs
- MSAANativeProvider.cs
- ResourcesBuildProvider.cs
- DecryptRequest.cs
- MultiSelectRootGridEntry.cs
- BufferModesCollection.cs
- securitycriticaldataformultiplegetandset.cs
- SqlTriggerAttribute.cs
- CodeNamespaceImport.cs
- ApplicationException.cs
- AxImporter.cs
- WebPartDisplayMode.cs
- PtsPage.cs
- CancellationHandlerDesigner.cs
- SQLInt16Storage.cs
- GridItemPattern.cs
- TopClause.cs
- _HelperAsyncResults.cs
- SendMailErrorEventArgs.cs
- FontNameEditor.cs
- CheckBoxList.cs
- XPathSelectionIterator.cs
- RegexRunnerFactory.cs
- InstanceKeyNotReadyException.cs
- DecryptedHeader.cs
- XmlnsCache.cs
- Stack.cs
- C14NUtil.cs
- DockPattern.cs
- WebPartConnectionsEventArgs.cs
- AmbientValueAttribute.cs
- x509utils.cs
- StrokeNodeOperations.cs
- HtmlUtf8RawTextWriter.cs
- RelationshipEndCollection.cs
- WebZone.cs
- QilParameter.cs
- MetadataUtil.cs
- SerializationInfoEnumerator.cs
- TransactionManager.cs
- EncryptedPackage.cs
- RegexNode.cs
- DoubleLinkListEnumerator.cs
- DataControlFieldCollection.cs
- IsolatedStorage.cs
- ZipPackage.cs
- Light.cs
- TreeNodeStyle.cs
- _KerberosClient.cs
- MobileControlBuilder.cs
- InstanceContextManager.cs
- PropertyDescriptorComparer.cs
- C14NUtil.cs
- EditorPartChrome.cs
- DictionaryEntry.cs
- DbCommandTree.cs
- DataReceivedEventArgs.cs
- MetadataUtilsSmi.cs
- XmlSchemaValidator.cs
- Positioning.cs
- HandleRef.cs
- CodeDirectoryCompiler.cs
- StylusCollection.cs
- MultiTargetingUtil.cs
- Point3DCollection.cs
- ParseNumbers.cs
- LiteralLink.cs
- Evaluator.cs
- EndEvent.cs
- UnaryNode.cs
- Grant.cs
- VirtualPath.cs
- TimelineGroup.cs
- ZoneIdentityPermission.cs
- QilFunction.cs
- HMACSHA1.cs
- FontFamily.cs
- ExpressionLexer.cs
- Utils.cs
- PropertyBuilder.cs
- MetricEntry.cs
- ClassGenerator.cs
- BooleanExpr.cs
- RealProxy.cs
- TrackBar.cs
- GridItemPattern.cs
- XPathNode.cs
- ClientTargetSection.cs
- DescendentsWalker.cs
- HttpListenerException.cs
- Context.cs
- RequestCacheEntry.cs
- Int32CollectionValueSerializer.cs
- _ShellExpression.cs
- FlowDocumentFormatter.cs
- CharacterHit.cs
- ScrollItemProviderWrapper.cs
- AssemblyAssociatedContentFileAttribute.cs
- Pair.cs
- LoginCancelEventArgs.cs