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 override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType


Type: System.ComponentModel.ITypeDescriptorContext

Context information that is used for conversion.

Type: System.Globalization.CultureInfo

An optional CultureInfo. If not supplied, the current culture is assumed.

Type: System.Object

The VisualBasicSettings instance to convert.

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