Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Conversions::FallbackUserDefinedConversion Method (Object^, Type^)

 
Note: This API is now obsolete.

Converts an object to the specified type.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
[ObsoleteAttribute("do not use this method", true)]
static Object^ FallbackUserDefinedConversion(
	Object^ Expression,
	Type^ TargetType
)

Parameters

Expression
Type: System::Object^

The object to convert.

TargetType
Type: System::Type^

The type to which to convert the object.

Return Value

Type: System::Object^

An object of the specified target type.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft