Click or drag to resize
GetBaseClassGetSelectedEnumValueT Method

Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public T GetSelectedEnumValue<T>()
where T : struct, new(), IConvertible

Type Parameters

T

Return Value

Type: T

[Missing <returns> documentation for "M:Rhino.Input.Custom.GetBaseClass.GetSelectedEnumValue``1"]

Exceptions
ExceptionCondition
ArgumentExceptionGets thrown if type T is not an enum type.
IndexOutOfRangeExceptionIf 0 >= CurrentListOptionIndex or CurrentListOptionIndex > N where N is the number of enum values.
See Also