NevronOpenVision
Nevron.Nov.Numerics Namespace / ComplexExtensions Class / TryToComplex32 Method / TryToComplex32(String,IFormatProvider,Complex32) Method
A string containing a complex number to convert.
An System.IFormatProvider that supplies culture-specific formatting information about value.
The parsed value.
In This Topic
    TryToComplex32(String,IFormatProvider,Complex32) Method
    In This Topic
    Converts the string representation of a complex number to 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,
       System.IFormatProvider formatProvider,
       out Complex32 result
    )

    Parameters

    value
    A string containing a complex number to convert.
    formatProvider
    An System.IFormatProvider that supplies culture-specific formatting information about value.
    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 Complex.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