RhinoCommon API
PersistentSettingsGetEnumValueT Method (String) |
Get a stored enumerated value using a custom key.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.4
public T GetEnumValue<T>( string key ) where T : struct, new(), IConvertible
Public Function GetEnumValue(Of T As {Structure, New, IConvertible}) ( key As String ) As T
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(System.String)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(System.String)"]
Return Value
Type: T[Missing <returns> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(System.String)"]
| Exception | Condition |
|---|---|
| KeyNotFoundException |