Search Results for

    Show / Hide Table of Contents

    Method IsFailed

    | Improve this Doc View Source

    IsFailed(ModelStateDictionary)

    Checks if the model state is failed.

    Declaration
    public static bool IsFailed(this ModelStateDictionary modelState)
    Parameters
    Type Name Description
    ModelStateDictionary modelState

    The model state to be validated.

    Returns
    Type Description
    Boolean

    true if the model state is failed; otherwise false.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults