CharConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)
.NET Framework (current version)
Converts the given value object to a Unicode character object using the arguments.
Assembly: System (in System.dll)
public: virtual Object^ ConvertTo( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
An ITypeDescriptorContext that provides a format context.
- culture
-
Type:
System.Globalization::CultureInfo^
The culture into which value will be converted.
- value
-
Type:
System::Object^
The Object to convert.
- destinationType
-
Type:
System::Type^
The Type to convert the value to.
| Exception | Condition |
|---|---|
| NotSupportedException | The conversion cannot be performed. |
.NET Framework
Available since 1.1
Available since 1.1
Show: