Partilhar via


DataSourceTypeAttribute Classe

Definição

Atributo em um ITableControlEventProcessorProvider para restringir o ITableControlEventProcessor que ele cria para eventos em entradas criadas por ITableDataSource cujo SourceTypeIdentifier corresponde a esse atributo.

public ref class DataSourceTypeAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public ref class DataSourceTypeAttribute sealed : Attribute
public ref class DataSourceTypeAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public sealed class DataSourceTypeAttribute : 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 DataSourceTypeAttribute : Attribute
type DataSourceTypeAttribute = class
    inherit MultipleBaseMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type DataSourceTypeAttribute = class
    inherit Attribute
Public NotInheritable Class DataSourceTypeAttribute
Inherits MultipleBaseMetadataAttribute
Public NotInheritable Class DataSourceTypeAttribute
Inherits Attribute
Herança
DataSourceTypeAttribute
Herança
DataSourceTypeAttribute
Atributos

Comentários

O ITableControlEventProcessorProvider pode ter vários atributos DataSourceType.

Construtores

DataSourceTypeAttribute(String)

Cria uma nova instância de DataSourceTypeAttribute.

Propriedades

DataSourceTypes

Obtém os tipos de fonte de dados.

Aplica-se a