[This is preliminary documentation and is subject to change.]
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static decimal AsDecimal(
this Object val,
[OptionalAttribute] decimal dflt,
ConvertErrorHandling handling = ConvertErrorHandling.ReturnDefault
)
public static decimal AsDecimal(
this Object val,
[OptionalAttribute] decimal dflt,
ConvertErrorHandling handling = ConvertErrorHandling.ReturnDefault
)
<ExtensionAttribute>
Public Shared Function AsDecimal (
val As Object,
<OptionalAttribute> dflt As Decimal,
Optional handling As ConvertErrorHandling = ConvertErrorHandling.ReturnDefault
) As Decimal
<ExtensionAttribute>
Public Shared Function AsDecimal (
val As Object,
<OptionalAttribute> dflt As Decimal,
Optional handling As ConvertErrorHandling = ConvertErrorHandling.ReturnDefault
) As Decimal
public:
[ExtensionAttribute]
static Decimal AsDecimal(
Object^ val,
[OptionalAttribute] Decimal dflt,
ConvertErrorHandling handling = ConvertErrorHandling::ReturnDefault
)
public:
[ExtensionAttribute]
static Decimal AsDecimal(
Object^ val,
[OptionalAttribute] Decimal dflt,
ConvertErrorHandling handling = ConvertErrorHandling::ReturnDefault
)
static member AsDecimal :
val : Object *
[<OptionalAttribute>] dflt : decimal *
?handling : ConvertErrorHandling
(* Defaults:
let _handling = defaultArg handling ConvertErrorHandling.ReturnDefault
*)
-> decimal
static member AsDecimal :
val : Object *
[<OptionalAttribute>] dflt : decimal *
?handling : ConvertErrorHandling
(* Defaults:
let _handling = defaultArg handling ConvertErrorHandling.ReturnDefault
*)
-> decimal
Return Value
Type:
DecimalUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).