Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / AlwaysConvert Class / ToBool Method / ToBool(Nullable<Boolean>) Method
The input value to parse
In This Topic
    ToBool(Nullable<Boolean>) Method
    In This Topic
    Parses the given input value and converts it to a bool. Default return value is false.
    Syntax
    public static bool ToBool( 
       Nullable<bool> parseValue
    )

    Parameters

    parseValue
    The input value to parse

    Return Value

    The converted boolean value
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also