StringSegmentConverterConvertFrom 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: 8.1.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 type only.

Return Value

Object
A StringSegment instance that represents the converted value.

See Also