Share via


DataSourceTypeAttribute Class

Definition

Attribute on an ITableControlEventProcessorProvider to restrict the ITableControlEventProcessor it creates to events on entries created by ITableDataSource whose SourceTypeIdentifier matches this attribute.

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
Inheritance
DataSourceTypeAttribute
Inheritance
DataSourceTypeAttribute
Attributes

Remarks

The ITableControlEventProcessorProvider can have multiple DataSourceType attributes.

Constructors

DataSourceTypeAttribute(String)

Creates a new instance of DataSourceTypeAttribute.

Properties

DataSourceTypes

Gets the data source types.

Applies to