[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)
public Object ValueAsType(
Type tp,
bool verbatim = false,
bool strict = true
)
public Object ValueAsType(
Type tp,
bool verbatim = false,
bool strict = true
)
Public Function ValueAsType (
tp As Type,
Optional verbatim As Boolean = false,
Optional strict As Boolean = true
) As Object
Public Function ValueAsType (
tp As Type,
Optional verbatim As Boolean = false,
Optional strict As Boolean = true
) As Object
public:
virtual Object^ ValueAsType(
Type^ tp,
bool verbatim = false,
bool strict = true
) sealed
public:
virtual Object^ ValueAsType(
Type^ tp,
bool verbatim = false,
bool strict = true
) sealed
abstract ValueAsType :
tp : Type *
?verbatim : bool *
?strict : bool
(* Defaults:
let _verbatim = defaultArg verbatim false
let _strict = defaultArg strict true
*)
-> Object
override 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
override ValueAsType :
tp : Type *
?verbatim : bool *
?strict : bool
(* Defaults:
let _verbatim = defaultArg verbatim false
let _strict = defaultArg strict true
*)
-> Object
Return Value
Type:
ObjectImplements
IConfigNode ValueAsType(Type, Boolean, Boolean)