|
ObjectExtensionsAsInt64 Method
|
This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]
Ases the int64.
Namespace:
Furcadia.Extensions
Assembly:
FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 59
Syntax public static long AsInt64(
this Object obj,
long default = -1
)
<ExtensionAttribute>
Public Shared Function AsInt64 (
obj As Object,
Optional default As Long = -1
) As Long
Dim obj As Object
Dim default As Long
Dim returnValue As Long
returnValue = obj.AsInt64(default)
public:
[ExtensionAttribute]
static long long AsInt64(
Object^ obj,
long long default = -1
)
[<ExtensionAttribute>]
static member AsInt64 :
obj : Object *
?default : int64
(* Defaults:
let _default = defaultArg default -1
*)
-> int64
Parameters
- obj
- Type: SystemObject
The object. - default (Optional)
- Type: SystemInt64
The default.
Return Value
Type:
Int64[Missing <returns> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt64(System.Object,System.Int64)"]
Usage 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).
See Also