UserInteractionPromptUser Method (String, UserQuestionOption)

Spotfire 15.0 API Reference
Prompts the user with a question and returns the user's response as a string.

Namespace:  Spotfire.Dxp.Application.Insights
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax

C#
public abstract string PromptUser(
	string question,
	params UserQuestionOption[] options
)

Parameters

question
Type: SystemString
The question to display to the user. Cannot be null or empty.
options
Type: Spotfire.Dxp.Application.InsightsUserQuestionOption
The options to display.

Return Value

Type: String
A string containing the user's response. Returns null if the user cancels the prompt.
Version Information

Supported in: 15.0
See Also

Reference