Click or drag to resize

SFSRoomVariable Constructor (String, Object, Int32)

Creates a new SFSRoomVariable instance.

Namespace:  Sfs2X.Entities.Variables
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public SFSRoomVariable(
	string name,
	Object val,
	int type
)

Parameters

name
Type: SystemString
The name of the Room Variable.
val
Type: SystemObject
The value of the Room Variable.
type
Type: SystemInt32
The type of the Room Variable among those available in the VariableType class. Usually it is not necessary to pass this parameter, as the type is auto-detected from the value.
See Also