QueryActionProviderAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
QueryActionProviderAttribute(String, Type) |
Initializes a new instance of the QueryActionProviderAttribute class. |
QueryActionProviderAttribute(String, Type, String) |
Initializes a new instance of the QueryActionProviderAttribute class. |
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.