ActionInvocationContext.SetInputEntity(String, ActionEntity) Method
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.
Sets the input entity for an app action invocation.
public:
virtual void SetInputEntity(Platform::String ^ inputName, ActionEntity ^ inputValue) = SetInputEntity;
void SetInputEntity(winrt::hstring const& inputName, ActionEntity const& inputValue);
public void SetInputEntity(string inputName, ActionEntity inputValue);
function setInputEntity(inputName, inputValue)
Public Sub SetInputEntity (inputName As String, inputValue As ActionEntity)
Parameters
- inputName
-
String
Platform::String
winrt::hstring
The name of the input entity. The name must match the name declared in the Action definition JSON file. For more information, see Action definition JSON schema for App Actions on Windows.
- inputValue
- ActionEntity
An instance of one of the entity classes that inherits from ActionEntity.