Click or drag to resize

ObjectExtensionsAsInt16 Method

This stuff is still in the planning stages. Any questions or Comments are welcome.

[This is preliminary documentation and is subject to change.]

converts an object to 16 bit integer

Namespace:  Furcadia.Extensions
Assembly:  FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 59
Syntax
public static short AsInt16(
	this Object obj,
	short default = -1
)

Parameters

obj
Type: SystemObject
The object.
default (Optional)
Type: SystemInt16
The default.

Return Value

Type: Int16

[Missing <returns> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsInt16(System.Object,System.Int16)"]

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