Conversions.FallbackUserDefinedConversion(Object, Type) 方法

定义

注意

do not use this method

注意

FallbackUserDefinedConversion has been deprecated and is not supported.

将对象转换为指定类型。

public:
 static System::Object ^ FallbackUserDefinedConversion(System::Object ^ Expression, Type ^ TargetType);
[System.Obsolete("do not use this method", true)]
public static object FallbackUserDefinedConversion (object Expression, Type TargetType);
[System.Obsolete("FallbackUserDefinedConversion has been deprecated and is not supported.", true)]
public static object FallbackUserDefinedConversion (object Expression, Type TargetType);
[<System.Obsolete("do not use this method", true)>]
static member FallbackUserDefinedConversion : obj * Type -> obj
[<System.Obsolete("FallbackUserDefinedConversion has been deprecated and is not supported.", true)>]
static member FallbackUserDefinedConversion : obj * Type -> obj
Public Shared Function FallbackUserDefinedConversion (Expression As Object, TargetType As Type) As Object

参数

Expression
Object

要转换的对象。

TargetType
Type

该对象要转换为的类型。

返回

指定的目标类型的对象。

属性

适用于