Developer Documentation
Our new developer documentation is now available. Please check it out!

RoomCollection.Contains

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public bool Contains(string key)
public bool Contains(Room item)

Determines whether the room by name/token is in the collection

Parameters

NameTypeDescription
keyStringroom key of the room
itemRoomroom

Returns

TypeDescription
Booleantrue on success or false

Variants

Contains(key)

public bool Contains(string key)

Determines whether the room by name/token is in the collection

Parameters

NameTypeDescription
keyStringroom key of the room

Returns

TypeDescription
Booleantrue on success or false

Contains(item)

public bool Contains(Room item)

Determines whether the room is in the collection

Parameters

NameTypeDescription
itemRoomroom

Returns

TypeDescription
Booleantrue on success or false