VersionConverterConvertTo Method
Converts the given value object to the specified type, using the specified context and culture information.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public override Object? ConvertTo(
ITypeDescriptorContext? context,
CultureInfo? culture,
Object? value,
Type destinationType
)
Public Overrides Function ConvertTo (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object,
destinationType As Type
) As Object
public:
virtual Object^ ConvertTo(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value,
Type^ destinationType
) override
abstract ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
override ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
- 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.
ObjectAn
Object that represents the converted value.