[]
Try to get the instance which is mapped to the specified key.
public bool TryGet(string key, out T value)
| Type | Name | Description |
|---|---|---|
| string | key | The item key. |
| T | value | The item |
| Type | Description |
|---|---|
| bool | true if contains an element with the specified key; otherwise, false. |