Bridge

Convert..::..ToChar Method (Object, IFormatProvider)

Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information. Note: Calling this method for [bool], [float], [double], [decimal] and [DateTime] values always throws InvalidCastException.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static char ToChar(
	Object value,
	IFormatProvider provider
)
<TemplateAttribute> _
Public Shared Function ToChar ( _
	value As Object, _
	provider As IFormatProvider _
) As Char
[TemplateAttribute]
public:
static wchar_t^ ToChar(
	Object^ value, 
	IFormatProvider^ provider
)

Parameters

value
Type: System..::..Object
provider
Type: System..::..IFormatProvider