EncodingConverterConvertFrom Method

Converts the given object to the type of this converter, using the specified context and culture information.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public override Object? ConvertFrom(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object? value
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context. In this converter this parameter is ignored.
culture  CultureInfo
A CultureInfo. In this converter this parameter is ignored.
value  Object
The Object to convert. This type converter supports String and Int32 types.

Return Value

Object
An Encoding instance that represents the converted value.

See Also