IConvertible.ToChar(IFormatProvider) Method

Definition

使用指定的特定文化特性之格式資訊,將這個執行個體的值轉換為相等的 Unicode 字元。Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.

public:
 char ToChar(IFormatProvider ^ provider);
public char ToChar (IFormatProvider provider);
abstract member ToChar : IFormatProvider -> char
Public Function ToChar (provider As IFormatProvider) As Char

Parameters

provider
IFormatProvider

IFormatProvider 介面實作,提供特定文化特性的格式資訊。An IFormatProvider interface implementation that supplies culture-specific formatting information.

Returns

Char

Unicode 字元,等於這個執行個體的值。A Unicode character equivalent to the value of this instance.

Applies to