Share via


ActionCatalog.GetActionsForInputs Method

Definition

Overloads

Name Description
GetActionsForInputs(ActionEntity[])

Gets an array of action instances for all actions registered with the system that accept the specified list of input entities.

GetActionsForInputs(ActionEntity[], WindowId)

Gets an array of action instances for all actions registered with the system that accept the specified list of input entities. This overload also accepts the WindowId associated with the invoker of the action.

GetActionsForInputs(ActionEntity[])

Gets an array of action instances for all actions registered with the system that accept the specified list of input entities.

public:
 virtual Platform::Array <ActionInstance ^> ^ GetActionsForInputs(Platform::Array <ActionEntity ^> ^ inputEntities) = GetActionsForInputs;
/// [Windows.Foundation.Metadata.Overload("GetActionsForInputs")]
winrt::array_view <ActionInstance const&> GetActionsForInputs(winrt::array_view <ActionEntity const&> const& inputEntities);
[Windows.Foundation.Metadata.Overload("GetActionsForInputs")]
public ActionInstance[] GetActionsForInputs(ActionEntity[] inputEntities);
function getActionsForInputs(inputEntities)
Public Function GetActionsForInputs (inputEntities As ActionEntity()) As ActionInstance()

Parameters

inputEntities
ActionEntity[]

A list of ActionEntity objects specifying the input entities for which actions are retrieved.

Returns

An array of ActionInstance objects that provide the details and the invocation context of an app action as well as the ability to invoke the action.

Attributes

Applies to

GetActionsForInputs(ActionEntity[], WindowId)

Gets an array of action instances for all actions registered with the system that accept the specified list of input entities. This overload also accepts the WindowId associated with the invoker of the action.

public:
 virtual Platform::Array <ActionInstance ^> ^ GetActionsForInputs(Platform::Array <ActionEntity ^> ^ inputEntities, WindowId invokerWindowId) = GetActionsForInputs;
/// [Windows.Foundation.Metadata.Overload("GetActionsForInputs2")]
winrt::array_view <ActionInstance const&> GetActionsForInputs(winrt::array_view <ActionEntity const&> const& inputEntities, WindowId const& invokerWindowId);
[Windows.Foundation.Metadata.Overload("GetActionsForInputs2")]
public ActionInstance[] GetActionsForInputs(ActionEntity[] inputEntities, WindowId invokerWindowId);
function getActionsForInputs(inputEntities, invokerWindowId)
Public Function GetActionsForInputs (inputEntities As ActionEntity(), invokerWindowId As WindowId) As ActionInstance()

Parameters

inputEntities
ActionEntity[]

A list of ActionEntity objects specifying the input entities for which actions are retrieved.

invokerWindowId
WindowId

A WindowId object specifying the window that invokes the app action.

Returns

An array of ActionInstance objects that provide the details and the invocation context of an app action as well as the ability to invoke the action.

Attributes

Applies to