GeneralTypeConverterConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type) |
LightningChart .NET Help
Converts object to the requested type.
Conversion to byte[] is handled by TreeBinarySerializer by calling ConvertToBytes.
Namespace:
Arction.Wpf.Charting.TypeConverters
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic 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
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
Context. - culture
- Type: System.GlobalizationCultureInfo
Culture. - value
- Type: SystemObject
Value. - destinationType
- Type: SystemType
Destination type.
Return Value
Type:
ObjectObject converted to the requested type, if supported.
See Also