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
- DiagnosticSection.cs
- TableItemStyle.cs
- Typeface.cs
- MetadataUtilsSmi.cs
- SamlAuthorityBinding.cs
- LoginCancelEventArgs.cs
- UnSafeCharBuffer.cs
- MetadataElement.cs
- SqlServices.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebSysDescriptionAttribute.cs
- ZipIOCentralDirectoryFileHeader.cs
- IgnorePropertiesAttribute.cs
- DocumentViewerAutomationPeer.cs
- ChoiceConverter.cs
- ClientBuildManager.cs
- DrawingCollection.cs
- SiteMapProvider.cs
- glyphs.cs
- SizeFConverter.cs
- SymbolTable.cs
- ComponentResourceKey.cs
- StatusBar.cs
- CodeIndexerExpression.cs
- EncodingDataItem.cs
- ToolStripDropDownItem.cs
- FixedSOMImage.cs
- BindingNavigator.cs
- MetaDataInfo.cs
- SqlRetyper.cs
- SubtreeProcessor.cs
- XmlDictionaryReaderQuotasElement.cs
- KnownColorTable.cs
- DataGridViewRowsRemovedEventArgs.cs
- DynamicILGenerator.cs
- RepeaterItemEventArgs.cs
- InvalidOleVariantTypeException.cs
- IImplicitResourceProvider.cs
- MethodExpr.cs
- ToolStripContentPanel.cs
- TransactionScope.cs
- GridView.cs
- FormViewPageEventArgs.cs
- RichTextBox.cs
- StyleTypedPropertyAttribute.cs
- CurrentChangedEventManager.cs
- ListViewInsertedEventArgs.cs
- RuntimeArgumentHandle.cs
- DynamicILGenerator.cs
- ConfigXmlAttribute.cs
- rsa.cs
- InitializerFacet.cs
- pingexception.cs
- ObjectDataSourceFilteringEventArgs.cs
- WorkflowInstanceExtensionManager.cs
- DispatcherEventArgs.cs
- DataContractSerializerOperationFormatter.cs
- MobileControlDesigner.cs
- LayoutEditorPart.cs
- HyperLinkField.cs
- HttpCapabilitiesBase.cs
- ChangeInterceptorAttribute.cs
- DBCommandBuilder.cs
- PathFigureCollectionValueSerializer.cs
- FolderNameEditor.cs
- GridViewUpdatedEventArgs.cs
- IdentityReference.cs
- HuffmanTree.cs
- RelationshipDetailsRow.cs
- DataServices.cs
- EventData.cs
- AnchoredBlock.cs
- HttpAsyncResult.cs
- RegexGroupCollection.cs
- AutomationTextAttribute.cs
- EntityDataSourceStatementEditor.cs
- TimeIntervalCollection.cs
- VideoDrawing.cs
- SqlMethods.cs
- HttpApplication.cs
- ProcessMessagesAsyncResult.cs
- ProcessProtocolHandler.cs
- DelimitedListTraceListener.cs
- SqlNode.cs
- BasicCellRelation.cs
- PlainXmlWriter.cs
- DataGridViewCellStyle.cs
- AutoCompleteStringCollection.cs
- BridgeDataReader.cs
- HttpInputStream.cs
- DataStreamFromComStream.cs
- JsonReader.cs
- CustomSignedXml.cs
- DesignerVerbCollection.cs
- FormDesigner.cs
- CustomExpressionEventArgs.cs
- HtmlValidatorAdapter.cs
- CharacterString.cs
- RtType.cs
- XPathChildIterator.cs