Click or drag to resize

RoomVariableIsPersistent Property

Indicates whether this Room Variable is persistent or not.

Namespace:  Sfs2X.Entities.Variables
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
bool IsPersistent { get; set; }

Property Value

Type: Boolean
Remarks
A persistent Room Variable continues to exist in the Room after the user who created it has left it and until he disconnects.

NOTE: setting this property manually on an existing Room Variable returned by the API has no effect on the server and can disrupt the API functioning. This flag can be set when the Room Variable object is created by the developer only (using the new keyword).

See Also