Conversions.FallbackUserDefinedConversion(Object, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
该对象要转换为的类型。
返回
指定的目标类型的对象。
- 属性