Show / Hide Table of Contents

    StringExtensions.Byte(this string str) Method

    .NET Standard 2.x

    Converts a string to a Byte datatype.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static byte? Byte(this string str);
    

    Parameters

    str System.String

    The string that you want to return as a Byte.

    Returns

    System.Byte

    Returns the value of the string variable as a Byte datatype if it succeeds; returns 0 if the string variable is not a valid number or if it has an incompatible datatype. If str is null, Byte returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon