NevronOpenVision
Nevron.Nov.Numerics Namespace / ComplexExtensions Class / TryToComplex32 Method / TryToComplex32(String,Complex32) Method
A string containing a complex number to convert.
The parsed value.
In This Topic
    TryToComplex32(String,Complex32) Method
    In This Topic
    Converts the string representation of a complex number to a single-precision complex number equivalent. A return value indicates whether the conversion succeeded or failed.
    Syntax
    [System.Runtime.CompilerServices.Extension()]
    public static System.bool TryToComplex32( 
       System.string value,
       out Complex32 result
    )

    Parameters

    value
    A string containing a complex number to convert.
    result
    The parsed value.

    Return Value

    If the conversion succeeds, the result will contain a complex number equivalent to value. Otherwise the result will contain complex32.Zero. This parameter is passed uninitialized.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also