SmartFoxServer Silverlight API
RoomVariable Constructor (name, value, isPrivate, isPersistent)
Namespaces ► SmartFoxClientAPI.Data ► RoomVariable ► RoomVariable(String, Object, Boolean, Boolean)
Room variable constructor.
Declaration Syntax

C# | Visual Basic | Visual C++

    public RoomVariable(
    	string name,
    	Object value,
    	bool isPrivate,
    	bool isPersistent
    )

    Public Sub New ( _
    	name As String, _
    	value As Object, _
    	isPrivate As Boolean, _
    	isPersistent As Boolean _
    )

    public:
    RoomVariable(
    	String^ name,
    	Object^ value,
    	bool isPrivate,
    	bool isPersistent
    )

Parameters

name (String)
  the variable name

value (Object)
  the variable value

isPrivate (Boolean)
  true if the variable is private

isPersistent (Boolean)
  true if the variable is persistent

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)