Partager via


QueryActionProviderAttribute Class

Definition

Provide a strong type representation of the basic metadata for a provider to support an action.

[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 QueryActionProviderAttribute : 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 QueryActionProviderAttribute = class
    inherit Attribute
Public Class QueryActionProviderAttribute
Inherits Attribute
Inheritance
QueryActionProviderAttribute
Attributes

Constructors

QueryActionProviderAttribute(String, Type, String)

Initializes a new instance of the QueryActionProviderAttribute class.

QueryActionProviderAttribute(String, Type)

Initializes a new instance of the QueryActionProviderAttribute class.

Properties

Action

Gets the action supported by the provider.

ActionParametersType

Gets the type to carry additional information of the action.

Relationship

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

Applies to