ComponentOne Input for WinForms
ToAnsi(Char,CultureInfo) Method

C1.Win.C1Input.4 Assembly > C1.Win.C1Input 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.
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 System.Char, _
   ByVal culture As System.Globalization.CultureInfo _
) As System.Char
public static System.char ToAnsi( 
   System.char c,
   System.Globalization.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

Reference

CharHelper Class
CharHelper Members
Overload List