Summary
Gets a flag indicating whether the specified key and
value are present in the property set.
- Namespace
- TCLite
.Interfaces - Containing Type
- IPropertyBag
Syntax
bool Contains(string key, object value)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The key to be checked |
| value | object | The value to be checked |
Return Value
| Type | Description |
|---|---|
| bool | True if the key and value are present, otherwise false |
