Click or drag to resize

PersistentSettingsGetEnumValueT Method (T)

Get a stored enum value, or return default value if not found

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public T GetEnumValue<T>(
	T defaultValue
)
where T : struct, new(), IConvertible

Parameters

defaultValue
Type: T

[Missing <param name="defaultValue"/> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(``0)"]

Return Value

Type: T

[Missing <returns> documentation for "M:Rhino.PersistentSettings.GetEnumValue``1(``0)"]

Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also