Method AskInteger
AskInteger(UserQuestion, int, int, SmartInteger, out SmartInteger)
Asks the user for an integer value.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
UserAnswerType AskInteger(UserQuestion inQuestion, int inMinValue, int inMaxValue, SmartInteger inSuggestion, out SmartInteger outAnswer)
Parameters
| Type | Name | Description |
|---|---|---|
| UserQuestion | inQuestion | Question asked to the user. |
| int | inMinValue | Minimum value. |
| int | inMaxValue | Maximum value. |
| SmartInteger | inSuggestion | Suggested answer, or |
| SmartInteger | outAnswer | User answer, or |
Returns
| Type | Description |
|---|---|
| UserAnswerType | Type of user answer. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) may be called before calling this method to allow the user to create or modify entities during the interaction.
This method is available since v7.7.