Aracılığıyla paylaş


DataSourceAttribute Sınıf

Tanım

oluşturduğu ITableControlEventProcessor'ı bu öznitelikle ITableDataSourceIdentifier eşleşen tarafından oluşturulan girdilerdeki olaylara kısıtlamak için üzerindeki ITableControlEventProcessorProvider özniteliği.

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
Devralma
Devralma
DataSourceAttribute
Öznitelikler

Açıklamalar

ITableControlEventProcessorProvider birden çok DataSource özniteliğine sahip olabilir.

Oluşturucular

DataSourceAttribute(String)

DataSourceAttribute'un yeni bir örneğini oluşturur.

Özellikler

DataSources

Bu öznitelikle ilişkili DataSource tanımlayıcısını döndürür.

Şunlara uygulanır