M_Furcadia_Extensions_ObjectExtensions_AsInt32 - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki
This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]
[Missing
Namespace: Furcadia.Extensions
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43
C#
public static int AsInt32(
this Object obj,
int default = -1
)
VB
<ExtensionAttribute>
Public Shared Function AsInt32 (
obj As Object,
Optional default As Integer = -1
) As Integer
VB Usage
Dim obj As Object
Dim default As Integer
Dim returnValue As Integer
returnValue = obj.AsInt32(default)
C++
public:
[ExtensionAttribute]
static int AsInt32(
Object^ obj,
int default = -1
)
F#
[<ExtensionAttribute>]
static member AsInt32 :
obj : Object *
?default : int
(* Defaults:
let _default = defaultArg default -1
*)
-> int
- obj
- Type: System.Object
[Missing documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"] - default (Optional)
- Type: System.Int32
[Missing documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
Type: Int32
[Missing documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
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).