Method ContainsItem ContainsItem(string) Tells whether an item with the specified key exists or not. Declaration public bool ContainsItem(string key) Parameters Type Name Description string key The id of the TItem instance to find. Returns Type Description bool true if the item is found, false otherwise.