Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

.NET Framework 4.6 and 4.5

This API supports the .NET Framework 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft