다음을 통해 공유


QueryActionProviderAttribute Constructors

Definition

Overloads

QueryActionProviderAttribute(String, Type)

Initializes a new instance of the QueryActionProviderAttribute class.

public QueryActionProviderAttribute(string action, Type? parametersType);
new Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryActionProviderAttribute : string * Type -> Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryActionProviderAttribute
Public Sub New (action As String, parametersType As Type)

Parameters

action
String

The action supported by the provider.

parametersType
Type

The type carries additional parameters of the action.

Applies to

QueryActionProviderAttribute(String, Type, String)

Initializes a new instance of the QueryActionProviderAttribute class.

public QueryActionProviderAttribute(string action, Type? parametersType = default, string? relationship = default);
new Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryActionProviderAttribute : string * Type * string -> Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryActionProviderAttribute
Public Sub New (action As String, Optional parametersType As Type = Nothing, Optional relationship As String = Nothing)

Parameters

action
String

The action supported by the provider.

parametersType
Type

The type carries additional parameters of the action.

relationship
String

The name of the relationship, from which we retrieve the collection data.

Applies to