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 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:
SFSUserVariableRemarks
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