Creates a new SFSUserVariable instance.

Namespace: Sfs2X.Entities.Variables
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public SFSUserVariable(
	string name,
	Object val,
	int type
)

Parameters

name
Type: System..::..String
The name of the User Variable.
val
Type: System..::..Object
The value of the User Variable.
type
Type: System..::..Int32
The type of the User 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