Creates a new SetRoomVariablesRequest instance.

Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public SetRoomVariablesRequest(
	ICollection<RoomVariable> roomVariables,
	Room room
)

Parameters

roomVariables
Type: System.Collections.Generic..::..ICollection<(Of <(<'RoomVariable>)>)>
A collection of objects representing the Room Variables to be set.
room
Type: Sfs2X.Entities..::..Room
An object representing the Room where to set the Room Variables; if null, the last Room joined by the current user is used (default = null).

Remarks

The instance must be passed to the SmartFox.Send method for the request to be performed.

See Also