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
- SetStateDesigner.cs
- objectresult_tresulttype.cs
- RegexInterpreter.cs
- EventEntry.cs
- TextTreeTextBlock.cs
- RegexCompilationInfo.cs
- DSACryptoServiceProvider.cs
- StringUtil.cs
- Activity.cs
- Converter.cs
- XsdSchemaFileEditor.cs
- TypeBrowserDialog.cs
- XmlSigningNodeWriter.cs
- EventLogReader.cs
- CapiHashAlgorithm.cs
- LayoutEvent.cs
- PointValueSerializer.cs
- SelectingProviderEventArgs.cs
- TableCell.cs
- LinkButton.cs
- WeakReferenceEnumerator.cs
- Renderer.cs
- BypassElementCollection.cs
- KeyPullup.cs
- StackBuilderSink.cs
- Errors.cs
- dtdvalidator.cs
- SubqueryRules.cs
- SecurityResources.cs
- IpcClientChannel.cs
- FrameworkContextData.cs
- MenuBase.cs
- DrawToolTipEventArgs.cs
- ManipulationCompletedEventArgs.cs
- MetadataLocation.cs
- sqlstateclientmanager.cs
- DynamicPropertyReader.cs
- FamilyTypeface.cs
- DBConnection.cs
- WebPartConnectionsDisconnectVerb.cs
- ExpandSegmentCollection.cs
- MonthChangedEventArgs.cs
- CompensationDesigner.cs
- DocumentPageViewAutomationPeer.cs
- CodePageEncoding.cs
- CodeSpit.cs
- BamlResourceDeserializer.cs
- DataServiceCollectionOfT.cs
- ResourceContainer.cs
- TextBox.cs
- WMIGenerator.cs
- AccessControlList.cs
- __ConsoleStream.cs
- ParagraphResult.cs
- ElementInit.cs
- URLIdentityPermission.cs
- ConfigurationSettings.cs
- ServiceOperation.cs
- SoapObjectWriter.cs
- WSHttpBindingBase.cs
- SiteMapNodeItem.cs
- CroppedBitmap.cs
- IdentitySection.cs
- isolationinterop.cs
- DrawingAttributeSerializer.cs
- StringPropertyBuilder.cs
- ImageAttributes.cs
- DirectoryNotFoundException.cs
- __Filters.cs
- ToolboxCategoryItems.cs
- OletxEnlistment.cs
- ToolStripDropTargetManager.cs
- CommonProperties.cs
- ToolboxDataAttribute.cs
- BuilderInfo.cs
- RootProjectionNode.cs
- ToolStripPanelDesigner.cs
- DataGridViewCellValueEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- UpdateCompiler.cs
- XmlIgnoreAttribute.cs
- CqlLexerHelpers.cs
- EntityKey.cs
- CodeCatchClauseCollection.cs
- OleAutBinder.cs
- DescendantOverDescendantQuery.cs
- TableLayoutPanel.cs
- Parser.cs
- IntegerFacetDescriptionElement.cs
- GrammarBuilderBase.cs
- CacheSection.cs
- ListViewInsertEventArgs.cs
- SqlStatistics.cs
- TextFindEngine.cs
- NodeLabelEditEvent.cs
- DataSet.cs
- XhtmlTextWriter.cs
- GeometryGroup.cs
- TemplateManager.cs
- CompiledAction.cs