VersionConverterConvertTo Method

Converts the given value object to the specified type, 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? ConvertTo(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object? value,
	Type destinationType
)

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 Version instance to convert.
destinationType  Type
The Type to convert the value parameter to. This type converter supports String type only.

Return Value

Object
An Object that represents the converted value.

See Also