'Declaration Public Overloads Overrides Function ConvertFrom( _ ByVal context As ITypeDescriptorContext, _ ByVal culture As CultureInfo, _ ByVal value As Object _ ) As Object
'Usage Dim instance As ImGearScrollComponentInfoConverter Dim context As ITypeDescriptorContext Dim culture As CultureInfo Dim value As Object Dim value As Object value = instance.ConvertFrom(context, culture, value)
public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value )
public: Object* ConvertFrom( ITypeDescriptorContext* context, CultureInfo* culture, Object* value ) override
public: Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
Parameters
- context
- An TypeDescriptor object that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
- culture
- A CultureInfo object that specifies the culture to represent the Color.
- value
- The object to convert.
Return Value
The converted object. This method will throw an exception if the conversion could not
be performed.