VisualBasicSettingsConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

.NET Framework (current version)
 

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
)

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 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
Show: