Summary
Tries to get the value for the specified key.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Configuration - Containing Type
- TestSettings
Syntax
public bool TryGetValue<T>(string key, out T value)
Type Parameters
| Name | Description |
|---|---|
| T | The desired return type. |
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The key of the value to get. |
| value | T | The value of the key if it was found and could be converted to the desired return type. |
Return Value
| Type | Description |
|---|---|
| bool | true if the key was found and the value could be converted to the desired return type, false otherwise. |
