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.7.3.0 (1.7.3)

Syntax

C#
bool ContainsRoomInGroup(
	Object idOrName,
	string groupId
)

Parameters

idOrName
Type: System..::..Object
The id or name of the Room object whose presence in the Rooms list is to be tested.
groupId
Type: System..::..String
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