GetBaseClassGetSelectedEnumValueFromSelectionListT Method |
Namespace: Rhino.Input.Custom
public T GetSelectedEnumValueFromSelectionList<T>( IEnumerable<T> selectionList ) where T : struct, new(), IConvertible
[Missing <returns> documentation for "M:Rhino.Input.Custom.GetBaseClass.GetSelectedEnumValueFromSelectionList``1(System.Collections.Generic.IEnumerable{``0})"]
| Exception | Condition |
|---|---|
| ArgumentException | Gets thrown if type T is not an enumerated type. |
| IndexOutOfRangeException | If 0 >= CurrentListOptionIndex or CurrentListOptionIndex > N where N is the number of enumerated values. |