Compartir a través de


QueryDataProviderZoneAttribute Class

Definition

Required metadata for any query data provider exported through MEF. It provides data for the query engine to know which specific provider needs to be loaded.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
[System.Runtime.CompilerServices.Nullable(0)]
public class QueryDataProviderZoneAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type QueryDataProviderZoneAttribute = class
    inherit Attribute
Public Class QueryDataProviderZoneAttribute
Inherits Attribute
Inheritance
QueryDataProviderZoneAttribute
Attributes

Constructors

QueryDataProviderZoneAttribute(String)

Initializes a new instance of the QueryDataProviderZoneAttribute class.

Properties

Zone

Gets the data zone of the data provider. For example, a data provider may provide data for C++ projects. If there is no C++ project, we don't want to load the provider to the product. This is currently not implemented, and need be covered soon.

Applies to