Click or drag to resize

PersistentSettingsTryGetEnumValueT Method (T)

Attempt to get the stored value for an enum setting. Note: the enum value ALWAYS gets assigned! Be sure to check for success of this method to prevent erroneous use of the value.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool TryGetEnumValue<T>(
	out T enumValue
where T : struct, new(), IConvertible


Type: T

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

Type Parameters


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

Return Value

Type: Boolean

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

Version Information

Rhino for Mac

Supported in: 5.4
See Also