VisualBasicSettingsConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

.NET Framework (current version)

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

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the specified object to a VisualBasicSettings instance.

Namespace:   Microsoft.VisualBasic.Activities.XamlIntegration
Assembly:  System.Activities (in System.Activities.dll)

public override object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value


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 object to convert.

Return Value

Type: System.Object

An object that represents the converted value.

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

.NET Framework
Available since 4.0
Return to top