Search Results for

    Show / Hide Table of Contents

    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 null if none.

    SmartInteger outAnswer

    User answer, or null if none.

    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.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.