[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 sbyte AsSByte(
this Object val,
sbyte dflt = 0,
ConvertErrorHandling handling = ConvertErrorHandling.ReturnDefault
)
public static sbyte AsSByte(
this Object val,
sbyte dflt = 0,
ConvertErrorHandling handling = ConvertErrorHandling.ReturnDefault
)
<ExtensionAttribute>
Public Shared Function AsSByte (
val As Object,
Optional dflt As SByte = 0,
Optional handling As ConvertErrorHandling = ConvertErrorHandling.ReturnDefault
) As SByte
<ExtensionAttribute>
Public Shared Function AsSByte (
val As Object,
Optional dflt As SByte = 0,
Optional handling As ConvertErrorHandling = ConvertErrorHandling.ReturnDefault
) As SByte
public:
[ExtensionAttribute]
static signed char AsSByte(
Object^ val,
signed char dflt = 0,
ConvertErrorHandling handling = ConvertErrorHandling::ReturnDefault
)
public:
[ExtensionAttribute]
static signed char AsSByte(
Object^ val,
signed char dflt = 0,
ConvertErrorHandling handling = ConvertErrorHandling::ReturnDefault
)
static member AsSByte :
val : Object *
?dflt : sbyte *
?handling : ConvertErrorHandling
(* Defaults:
let _dflt = defaultArg dflt 0
let _handling = defaultArg handling ConvertErrorHandling.ReturnDefault
*)
-> sbyte
static member AsSByte :
val : Object *
?dflt : sbyte *
?handling : ConvertErrorHandling
(* Defaults:
let _dflt = defaultArg dflt 0
let _handling = defaultArg handling ConvertErrorHandling.ReturnDefault
*)
-> sbyte
Return Value
Type:
SByteUsage 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).