[This is preliminary documentation and is subject to change.]
Tries to get value as specified type or throws if it can not be converted
Namespace: NFX.EnvironmentAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Object ValueAsType(
Type tp,
bool verbatim = false,
bool strict = true
)
Object ValueAsType(
Type tp,
bool verbatim = false,
bool strict = true
)
Function ValueAsType (
tp As Type,
Optional verbatim As Boolean = false,
Optional strict As Boolean = true
) As Object
Function ValueAsType (
tp As Type,
Optional verbatim As Boolean = false,
Optional strict As Boolean = true
) As Object
Object^ ValueAsType(
Type^ tp,
bool verbatim = false,
bool strict = true
)
Object^ ValueAsType(
Type^ tp,
bool verbatim = false,
bool strict = true
)
abstract ValueAsType :
tp : Type *
?verbatim : bool *
?strict : bool
(* Defaults:
let _verbatim = defaultArg verbatim false
let _strict = defaultArg strict true
*)
-> Object
abstract ValueAsType :
tp : Type *
?verbatim : bool *
?strict : bool
(* Defaults:
let _verbatim = defaultArg verbatim false
let _strict = defaultArg strict true
*)
-> Object
Return Value
Type:
Object