Retrieves the list of Rooms which are part of the specified Room Group.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public List<Room> GetRoomListFromGroup(
	string groupId
)

Parameters

groupId
Type: System..::..String
The name of the Group.

Return Value

Type: List<(Of <(<'Room>)>)>
The list of Room objects belonging to the passed Group.

Remarks

The same list is returned by the IRoomManager.getRoomById() method, accessible through the RoomManager getter; this was replicated on the SmartFox class for handy access due to its usually frequent usage.

See Also