GetBaseClassGetSelectedEnumValueT Method |
This must be called directly after having called a Get method, and having obtained a Option value.
Namespace: Rhino.Input.Custom
public T GetSelectedEnumValue<T>() where T : struct, new(), IConvertible
Public Function GetSelectedEnumValue(Of T As {Structure, New, IConvertible}) As T
[Missing <returns> documentation for "M:Rhino.Input.Custom.GetBaseClass.GetSelectedEnumValue``1"]
| Exception | Condition |
|---|---|
| ArgumentException | Gets thrown if type T is not an enum type. |
| IndexOutOfRangeException | If 0 >= CurrentListOptionIndex or CurrentListOptionIndex > N where N is the number of enum values. |