KGy SOFT

StringSegmentConverterConvertTo Method

KGy SOFT Core Libraries Help
Converts the given value object to the specified type, using the specified context and culture information.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context. In this converter this parameter is ignored.
culture
Type: System.GlobalizationCultureInfo
A CultureInfo. In this converter this parameter is ignored.
value
Type: SystemObject
The StringSegment instance to convert.
destinationType
Type: SystemType
The Type to convert the value parameter to. This type converter supports String type only.

Return Value

Type: Object
An Object that represents the converted value.
See Also

Reference