ObjectPath.MapValueTo<T>(Object) 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.
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.