Method TryGetParameter
TryGetParameter<T>(IRoutedViewModel<T>, out T)
Gets the parameter associated with the specified view model.
Declaration
public static bool TryGetParameter<T>(IRoutedViewModel<T> viewModel, out T parameter) where T : notnull
Parameters
| Type | Name | Description |
|---|---|---|
| IRoutedViewModel<T> | viewModel | |
| T | parameter |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |