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)

[ObsoleteAttribute("do not use this method", true)]
public 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: