ComponentOne CalendarView for WinForms
C1.Framework Namespace / CharHelper Class / ToAnsi Method / ToAnsi(Char) Method
A Unicode character.

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

    Parameters

    c
    A Unicode character.

    Return Value

    An Ansi character equivalent of c in the current culture.
    Remarks
    Encodes the specified Unicode character to an ANSI character using the current culture.
    See Also