'Declaration Public Overloads Overrides Function ConvertTo( _
ByVal contextA formatter context.As System.ComponentModel.ITypeDescriptorContext, _
ByVal cultureA CultureInfo object that specifies the culture used to represent the object.As System.Globalization.CultureInfo, _
ByVal valueThe object to convert.As System.Object, _
ByVal destinationTypeThe data type to convert the object to.As System.Type _
) As System.Object
public override System.Object ConvertTo(
System.ComponentModel.ITypeDescriptorContext context,
System.Globalization.CultureInfo culture,
System.Object value,
System.Type destinationType
)
public: System.Object ConvertTo(
System.ComponentModel.ITypeDescriptorContext* context,
System.Globalization.CultureInfo* culture,
System.Object value,
System.Type* destinationType
); override
public:
System.Object ConvertTo(
System.ComponentModel.ITypeDescriptorContext^ context,
System.Globalization.CultureInfo^ culture,
System.Object value,
System.Type^ destinationType
); override
Parameters
- context
- A formatter context.
- culture
- A CultureInfo object that specifies the culture used to represent the object.
- value
- The object to convert.
- destinationType
- The data type to convert the object to.
Return Value
The converted object.