Поделиться через


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

Тип данных, в который требуется преобразовать объект.

Возвращаемое значение

Объект указанного конечного типа.

Атрибуты

Применяется к