Click or drag to resize

SFSUserVariablenewPrivateVariable Method

Creates a new private User Variable.

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

Parameters

name
Type: SystemString
The name of the User Variable.
val
Type: SystemObject
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