VisualBasicSettingsConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

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: