Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

IConvertible.ToChar Method

Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.

The IConvertible type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
Function ToChar( _
   ByVal provider As IFormatProvider _
) As Char
[C#]
char ToChar(
   IFormatProvider provider
);
[C++]
__wchar_t ToChar(
   IFormatProvider* provider
);
[JScript]
function ToChar(
   provider : IFormatProvider
) : Char;

Parameters

provider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

A Unicode character equivalent to the value of this instance.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IConvertible Interface | IConvertible Members | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.