Developer Documentation

RoomCollection.Contains

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