Struct UserQuestion
Represents a question asked to the user.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 7, 0, 0)]
public struct UserQuestion
Remarks
This structure is available since v7.7.
Constructors
UserQuestion(String, String)
Initializes a new instance of the UserQuestion structure.
Declaration
public UserQuestion(string inTitle, string inLabel)
Parameters
Type | Name | Description |
---|---|---|
System.String | inTitle | Title. |
System.String | inLabel | Label. |
UserQuestion(String, String, String)
Initializes a new instance of the UserQuestion structure.
Declaration
public UserQuestion(string inTitle, string inLabel, string inPrompt)
Parameters
Type | Name | Description |
---|---|---|
System.String | inTitle | Title. |
System.String | inLabel | Label. |
System.String | inPrompt | Prompt. |
UserQuestion(String, String, String, UserQuestionFlags)
Initializes a new instance of the UserQuestion structure.
Declaration
public UserQuestion(string inTitle, string inLabel, string inPrompt, UserQuestionFlags inFlags)
Parameters
Type | Name | Description |
---|---|---|
System.String | inTitle | Title. |
System.String | inLabel | Label. |
System.String | inPrompt | Prompt. |
UserQuestionFlags | inFlags | Flags. |
Fields
Flags
Flags.
Declaration
public UserQuestionFlags Flags
Field Value
Type | Description |
---|---|
UserQuestionFlags |
Label
Label.
Declaration
public string Label
Field Value
Type | Description |
---|---|
System.String |
Prompt
Prompt.
Declaration
public string Prompt
Field Value
Type | Description |
---|---|
System.String |
Title
Title.
Declaration
public string Title
Field Value
Type | Description |
---|---|
System.String |
Properties
AcceptsAuto
Tells or sets whether to automatically answer "Ok" when a valid input or selection is made (available since v7.11).
Declaration
public bool AcceptsAuto { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowsCreation
Tells or sets whether the user can create new entities to answer the question.
Declaration
public bool AllowsCreation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowsEmpty
Tells or sets whether the user can answer "nothing".
Declaration
public bool AllowsEmpty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowsNext
Tells or sets whether the user can answer "Next".
Declaration
public bool AllowsNext { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowsPrevious
Tells or sets whether the user can answer "Previous".
Declaration
public bool AllowsPrevious { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |