VisualBasicSettingsConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

.NET Framework (current version)
 

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.

Namespace:   Microsoft.VisualBasic.Activities.XamlIntegration
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.

Return Value

Type: System::Object^

The converted value.

The conversion is made by calling the base class method ConvertTo. If the conversion cannot be made, a NotSupportedException is thrown.

.NET Framework
Available since 4.0
Return to top
Show: