Bewerken

Delen via


VisualBasicSettingsConverter.ConvertFrom Method

Definition

Converts the specified object to a VisualBasicSettings instance.

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

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

Parameters

context
ITypeDescriptorContext

Context information that is used for conversion.

culture
CultureInfo

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

value
Object

The object to convert.

Returns

An object that represents the converted value.

Remarks

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

Applies to