Muokkaa

Jaa


FontSizeConverter.ConvertTo Method

Definition

Converts a Double value to a specified type.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parameters

context
ITypeDescriptorContext

Context information of a component such as its container and PropertyDescriptor.

culture
CultureInfo

Cultural specific information, including writing system and calendar used.

value
Object

The Object being converted.

destinationType
Type

The data type this font size value is being converted to.

Returns

A new Object that is the value of the conversion.

Applies to