Indicates whether this Room Variable is private or not.

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


bool IsPrivate { get; set; }

Property Value

Type: Boolean


A private Room Variable is visible to all users in the same Room, but it can be modified by its owner only (the user that created it).

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