Creates a new private User Variable.

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

Syntax

C#
public static SFSUserVariable newPrivateVariable(
	string name,
	Object val
)

Parameters

name
Type: System..::..String
The name of the User Variable.
val
Type: System..::..Object
The value of the User Variable.

Return Value

Type: SFSUserVariable

Remarks

Private User Variables are not broadcast to other users: they are only visible on the server side and in the owner's client application.

See Also