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
- DescendentsWalker.cs
- TabControlAutomationPeer.cs
- XmlDictionaryReaderQuotasElement.cs
- FixUpCollection.cs
- ListView.cs
- XsltContext.cs
- SqlUDTStorage.cs
- ScriptResourceAttribute.cs
- ByteAnimationBase.cs
- FieldToken.cs
- Permission.cs
- _Semaphore.cs
- SerializationUtility.cs
- DataGridColumnCollection.cs
- DuplicateWaitObjectException.cs
- WindowsFormsLinkLabel.cs
- Pair.cs
- ZoneLinkButton.cs
- ContainerParaClient.cs
- StringComparer.cs
- httpserverutility.cs
- FrameworkRichTextComposition.cs
- Span.cs
- Operand.cs
- RuleInfoComparer.cs
- RegexRunnerFactory.cs
- SoapSchemaExporter.cs
- ScriptManager.cs
- AutomationElementIdentifiers.cs
- DataGridViewCellPaintingEventArgs.cs
- SspiNegotiationTokenAuthenticator.cs
- CheckBoxRenderer.cs
- StrokeNode.cs
- Brush.cs
- Literal.cs
- TextRange.cs
- FileDialog_Vista_Interop.cs
- CloudCollection.cs
- PropertyGeneratedEventArgs.cs
- MasterPageParser.cs
- BitmapEffectvisualstate.cs
- XmlSchemaAny.cs
- ConfigXmlWhitespace.cs
- TextParaLineResult.cs
- TagMapCollection.cs
- HttpWriter.cs
- ParenthesizePropertyNameAttribute.cs
- DataGridViewLayoutData.cs
- CalloutQueueItem.cs
- NamespaceTable.cs
- DataGridTextBoxColumn.cs
- EntityStoreSchemaGenerator.cs
- StreamWithDictionary.cs
- CompiledIdentityConstraint.cs
- Inflater.cs
- TableStyle.cs
- InstanceLockException.cs
- EtwTrackingBehaviorElement.cs
- UpdateManifestForBrowserApplication.cs
- UInt64Converter.cs
- DashStyles.cs
- CodeSpit.cs
- ContextProperty.cs
- ChineseLunisolarCalendar.cs
- Constants.cs
- AjaxFrameworkAssemblyAttribute.cs
- TempFiles.cs
- SamlAssertion.cs
- SqlProviderUtilities.cs
- ErrorProvider.cs
- Win32Exception.cs
- JoinGraph.cs
- PagesChangedEventArgs.cs
- FrameworkRichTextComposition.cs
- DisplayNameAttribute.cs
- DataRelationCollection.cs
- Grammar.cs
- ProjectionPlanCompiler.cs
- PolyLineSegment.cs
- DataGridViewLinkCell.cs
- ProcessThreadDesigner.cs
- AccessDataSourceView.cs
- GlobalizationSection.cs
- InspectionWorker.cs
- SecUtil.cs
- XComponentModel.cs
- XMLSchema.cs
- ProcessThread.cs
- IntegerValidator.cs
- WindowsTokenRoleProvider.cs
- SpecialFolderEnumConverter.cs
- SecurityTokenAuthenticator.cs
- BoundColumn.cs
- KeyedByTypeCollection.cs
- PageWrapper.cs
- LocalizedNameDescriptionPair.cs
- ComboBoxAutomationPeer.cs
- ExtendedTransformFactory.cs
- ToolBar.cs
- WebZone.cs