Indicates whether a Room exists in the Rooms list or not.

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

Syntax

C#
public bool ContainsRoom(
	Object idOrName
)

Parameters

idOrName
Type: System..::..Object
The id or name of the Room object whose presence in the Rooms list is to be tested.

Return Value

Type: Boolean
true if the passed Room exists in the Rooms list.

Implements

IRoomManager..::..ContainsRoom(Object)

See Also