Open sandboxFocus

Method GetCategory

GetCategory(OperatorKind)

Gets the OperatorCategory for a given OperatorKind.

Declaration
public static OperatorCategory GetCategory(this OperatorKind operatorKind)
Parameters
Type Name Description
OperatorKind operatorKind

The OperatorKind value for which to get the category.

Returns
Type Description
OperatorCategory

The OperatorCategory corresponding to the specified OperatorKind.

Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when operatorKind is not a valid OperatorKind value.