DataSourceAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
上的 ITableControlEventProcessorProvider 屬性,用來限制其所建立之 ITableControlEventProcessor 所建立的事件 ITableDataSource ,其 Identifier 符合此屬性的專案。
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
- 繼承
- 繼承
-
DataSourceAttribute
- 屬性
備註
ITableControlEventProcessorProvider 可以有多個 DataSource 屬性。
建構函式
DataSourceAttribute(String) |
建立 DataSourceAttribute 的新實例。 |
屬性
DataSources |
傳回與此屬性相關聯的 DataSource 識別符。 |