DataSourceAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
ITableControlEventProcessorProvider 上的属性,用于将创建的 ITableControlEventProcessor 限制为 ITableDataSource 的,其中 < 显示 cref = "ITableDataSource"/ > 与此属性匹配。 ITableControlEventProcessorProvider 可以具有多个数据源属性。
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 可以具有多个数据源属性。
构造函数
| DataSourceAttribute(String) |
创建 DataSourceAttribute 的新实例。 |
属性
| DataSources |
获取与此特性关联的 DataSource 标识符。 |