Click or drag to resize

SetRoomVariablesRequest Constructor (ICollectionRoomVariable, Room)

Creates a new SetRoomVariablesRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public SetRoomVariablesRequest(
	ICollection<RoomVariable> roomVariables,
	Room room
)

Parameters

roomVariables
Type: System.Collections.GenericICollectionRoomVariable
A collection of objects representing the Room Variables to be set.
room
Type: Sfs2X.EntitiesRoom
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