Click or drag to resize

IRoomManagerContainsRoomInGroup Method

Indicates whether the Rooms list contains a Room belonging to the specified Group or not.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
bool ContainsRoomInGroup(
	Object idOrName,
	string groupId
)

Parameters

idOrName
Type: SystemObject
The id or name of the Room object whose presence in the Rooms list is to be tested.
groupId
Type: SystemString
The name of the Group to which the specified Room must belong.

Return Value

Type: Boolean
true if the Rooms list contains the passed Room and it belongs to the specified Group.
See Also