System::IConvertible::ToChar 方法

IConvertible::ToChar method

使用指定的特定文化格式信息,将此实例的值转换为等效的 Unicode 字符。

virtual char_t System::IConvertible::ToChar(System::SharedPtr<System::IFormatProvider> provider)=0
参数类型描述
providerSystem::SharedPtr<System::IFormatProvider>提供区域特定格式化信息的 System::IFormatProvider 接口实现。

ReturnValue

一个等同于此实例值的 Unicode 字符。

另见