Gets feature settings or command settings by specifying a type.
public T GetSettings<T>() where T : SettingsAmbient
Public Function GetSettings(Of T As SettingsAmbient) As T
public: generic<typename T> where T : SettingsAmbient T GetSettings()
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when the specified type cannot be found. |