Input for WinForms | ComponentOne
C1.Win.Input Namespace / CharHelper Class / FromAnsi Method / FromAnsi(Char,CultureInfo) Method
An ANSI character.
A CultureInfo object. If a null reference is passed, the current culture is assumed.

In This Topic
    FromAnsi(Char,CultureInfo) Method
    In This Topic
    Converts the value of a ANSI character to it's Unicode equivalent using the specified culture information.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromAnsi( _
       ByVal c As Char, _
       ByVal culture As CultureInfo _
    ) As Char
    public static char FromAnsi( 
       char c,
       CultureInfo culture
    )

    Parameters

    c
    An ANSI character.
    culture
    A CultureInfo object. If a null reference is passed, the current culture is assumed.

    Return Value

    An Unicode character equivalent of c using the specified culture.
    See Also