Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / CategoryNameCollection.cs / 1305376 / 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
- Metadata.cs
- FrameworkElementFactoryMarkupObject.cs
- DrawingVisual.cs
- CodeParameterDeclarationExpressionCollection.cs
- ResourcePool.cs
- DataSourceControl.cs
- LogicalExpr.cs
- XmlByteStreamReader.cs
- Material.cs
- NumericUpDownAccelerationCollection.cs
- RefType.cs
- SafeWaitHandle.cs
- QuotedPrintableStream.cs
- SecureStringHasher.cs
- EntityException.cs
- TypeReference.cs
- AttachmentService.cs
- ColumnMapTranslator.cs
- SqlUtils.cs
- TransformationRules.cs
- MailWebEventProvider.cs
- ControlBuilderAttribute.cs
- DBAsyncResult.cs
- AttributeCollection.cs
- PixelFormatConverter.cs
- CompositeCollection.cs
- ItemCollection.cs
- NestPullup.cs
- WindowsContainer.cs
- PrintPreviewControl.cs
- LicenseManager.cs
- FileRecordSequence.cs
- MeasureItemEvent.cs
- ContentElement.cs
- StandardMenuStripVerb.cs
- DSASignatureFormatter.cs
- ValuePattern.cs
- BindingExpression.cs
- EventProvider.cs
- InkCanvasInnerCanvas.cs
- DataRecord.cs
- AttachInfo.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- URLAttribute.cs
- SqlDataReader.cs
- ObjectList.cs
- AsymmetricCryptoHandle.cs
- ScopedKnownTypes.cs
- CodeDirectionExpression.cs
- Hash.cs
- StorageScalarPropertyMapping.cs
- EventHandlersStore.cs
- TransportSecurityProtocol.cs
- GeometryGroup.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- LinqDataSourceEditData.cs
- Random.cs
- PageBreakRecord.cs
- LogExtentCollection.cs
- ConfigurationManagerInternal.cs
- VectorAnimationBase.cs
- VarInfo.cs
- ALinqExpressionVisitor.cs
- FrameworkElement.cs
- SortDescriptionCollection.cs
- SrgsElementFactoryCompiler.cs
- EnumerableRowCollection.cs
- IpcChannelHelper.cs
- ObservableDictionary.cs
- _TimerThread.cs
- Cursors.cs
- WsatConfiguration.cs
- CapabilitiesAssignment.cs
- ServiceObjectContainer.cs
- TransformFinalBlockRequest.cs
- SecureUICommand.cs
- ServiceReflector.cs
- XmlSchemaRedefine.cs
- TableRowCollection.cs
- ImageAttributes.cs
- ReferentialConstraint.cs
- Odbc32.cs
- ModuleBuilder.cs
- Membership.cs
- FullTextBreakpoint.cs
- ToolStripSystemRenderer.cs
- SoapIgnoreAttribute.cs
- RemoteWebConfigurationHost.cs
- Stroke.cs
- DynamicRendererThreadManager.cs
- LineMetrics.cs
- PeerConnector.cs
- ProcessInfo.cs
- WebConvert.cs
- SchemaImporter.cs
- FontNamesConverter.cs
- ScaleTransform3D.cs
- ConfigurationStrings.cs
- Validator.cs
- RelatedEnd.cs