共用方式為


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

要將物件轉換成的型別。

傳回

指定之目標型別的物件。

屬性

適用於