共用方式為


INativeValueConverterService.ConvertTo(Object, Type, Object) Method

Definition

public:
 bool ConvertTo(System::Object ^ value, Type ^ toType, [Runtime::InteropServices::Out] System::Object ^ % platformValue);
public bool ConvertTo (object value, Type toType, out object platformValue);
abstract member ConvertTo : obj * Type * obj -> bool
Public Function ConvertTo (value As Object, toType As Type, ByRef platformValue As Object) As Boolean

Parameters

value
Object
toType
Type
platformValue
Object

Returns

Applies to