ObjectPath.MapValueTo<T>(Object) Method

Definition

Convert a generic object to a typed object.

public static T MapValueTo<T> (object val);
static member MapValueTo : obj -> 'T
Public Shared Function MapValueTo(Of T) (val As Object) As T

Type Parameters

T

type to convert to.

Parameters

val
Object

value to convert.

Returns

T

converted value.

Applies to