Conversions.FallbackUserDefinedConversion(Object, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
do not use this method
Caution
FallbackUserDefinedConversion has been deprecated and is not supported.
Converts an object to the specified type.
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
Parameters
- Expression
- Object
The object to convert.
- TargetType
- Type
The type to which to convert the object.
Returns
An object of the specified target type.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.