Compartir a través de


DataSourceAttribute Clase

Definición

Atributo en para ITableControlEventProcessorProvider restringir el objeto ITableControlEventProcessor que crea en eventos en entradas creadas por ITableDataSource cuya Identifier coincidencia coincide con este atributo.

public ref class DataSourceAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public ref class DataSourceAttribute sealed : Attribute
public ref class DataSourceAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public sealed class DataSourceAttribute : Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class DataSourceAttribute : Attribute
type DataSourceAttribute = class
    inherit MultipleBaseMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type DataSourceAttribute = class
    inherit Attribute
Public NotInheritable Class DataSourceAttribute
Inherits MultipleBaseMetadataAttribute
Public NotInheritable Class DataSourceAttribute
Inherits Attribute
Herencia
Herencia
DataSourceAttribute
Atributos

Comentarios

ITableControlEventProcessorProvider puede tener varios atributos DataSource.

Constructores

DataSourceAttribute(String)

Crea una nueva instancia de DataSourceAttribute.

Propiedades

DataSources

Devuelve el identificador DataSource asociado a este atributo.

Se aplica a