共用方式為


DataSourceTypeAttribute 類別

定義

ITableControlEventProcessorProvider上的 屬性可限制 ITableControlEventProcessor,它會在符合此屬性的專案上建立ITableDataSourceSourceTypeIdentifier的事件。

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
繼承
DataSourceTypeAttribute
繼承
DataSourceTypeAttribute
屬性

備註

ITableControlEventProcessorProvider 可以有多個 DataSourceType 属性。

建構函式

DataSourceTypeAttribute(String)

建立 DataSourceTypeAttribute 的新實例。

屬性

DataSourceTypes

取得數據源類型。

適用於