WebColorConverter.ConvertFrom Method

Definition

Converts the given value to the type of the converter.

public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that indicates the context of the object to convert.

culture
CultureInfo

A CultureInfo object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter.

value
Object

The object to convert.

Returns

The object resulting from conversion.

Applies to

Product Versies
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1