Click or drag to resize

SFSObjectGetShort Method

Returns the element corresponding to the specified key as a short integer (16 bits).

Namespace:  Sfs2X.Entities.Data
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public virtual short GetShort(
	string key
)

Parameters

key
Type: SystemString
The key whose associated value is to be returned.

Return Value

Type: Int16
The element of this object associated with the specified key; 0 if a mapping for the passed key doesn't exist.

Implements

ISFSObjectGetShort(String)
See Also