ComponentOne MultiSelect for WinForms
C1.Framework Namespace / CharHelper Class / ToAnsi Method / ToAnsi(Char,CultureInfo) Method
A Unicode character.
A CultureInfo object. If a null reference is passed, the current culture is assumed.

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

    Parameters

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

    Return Value

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