Furcadia Framework For Third Party Programs
ObjectExtensionsAsInt32 Method |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
Namespace: Furcadia.Extensions
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 44
Syntax
public static int AsInt32( this Object obj, int default = -1 )
<ExtensionAttribute> Public Shared Function AsInt32 ( obj As Object, Optional default As Integer = -1 ) As Integer Dim obj As Object Dim default As Integer Dim returnValue As Integer returnValue = obj.AsInt32(default)
public: [ExtensionAttribute] static int AsInt32( Object^ obj, int default = -1 )
[<ExtensionAttribute>] static member AsInt32 : obj : Object * ?default : int (* Defaults: let _default = defaultArg default -1 *) -> int
Parameters
- obj
- Type: SystemObject
[Missing <param name="obj"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
- default (Optional)
- Type: SystemInt32
[Missing <param name="default"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
Return Value
Type: Int32[Missing <returns> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt32(System.Object,System.Int32)"]
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