Udostępnij za pośrednictwem


Conversions.FallbackUserDefinedConversion(Object, Type) Metoda

Definicja

Przestroga

do not use this method

Przestroga

FallbackUserDefinedConversion has been deprecated and is not supported.

Konwertuje obiekt na określony typ.

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

Parametry

Expression
Object

Do obiektu do skonwertowania.

TargetType
Type

Typ, do którego ma być konwertowany obiekt.

Zwraca

Obiekt określonego typu docelowego.

Atrybuty

Dotyczy