VisualBasicSettingsConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)
This API supports the product infrastructure and is not intended to be used directly from your code.
Converts a VisualBasicSettings instance to the specified type.
Assembly: System.Activities (in System.Activities.dll)
public: virtual Object^ ConvertTo( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Context information that is used for conversion.
- culture
-
Type:
System.Globalization::CultureInfo^
An optional CultureInfo. If not supplied, the current culture is assumed.
- value
-
Type:
System::Object^
The VisualBasicSettings instance to convert.
- destinationType
-
Type:
System::Type^
The type to convert to.
The conversion is made by calling the base class method ConvertTo. If the conversion cannot be made, a NotSupportedException is thrown.
Available since 4.0