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
Name | Type | Description |
---|---|---|
key | String | room key of the room |
item | Room | room |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Variants
Contains(key)
public bool Contains(string key)
Determines whether the room by name/token is in the collection
Parameters
Name | Type | Description |
---|---|---|
key | String | room key of the room |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Contains(item)
public bool Contains(Room item)
Determines whether the room is in the collection
Parameters
Name | Type | Description |
---|---|---|
item | Room | room |
Returns
Type | Description |
---|---|
Boolean | true on success or false |