Language

AppTaskContent.SetQuestion(String) Method

Definition

Sets a question to display to the user when the task needs attention.

public:
 virtual void SetQuestion(Platform::String ^ question) = SetQuestion;
/// [Windows.Foundation.Metadata.Experimental]
void SetQuestion(winrt::hstring const& question);
[Windows.Foundation.Metadata.Experimental]
public void SetQuestion(string question);
function setQuestion(question)
Public Sub SetQuestion (question As String)

Parameters

question
String

Platform::String

winrt::hstring

The question text to display to the user.

Attributes

Remarks

Use this method in combination with AddButton or SetTextInput to prompt the user for input when the task requires a decision.

Applies to