Open sandboxFocus

Method IsReturn

IsReturn(ParameterKind)

Determines whether a parameter of a given ParameterKind represents a return parameter.

Declaration
public static bool IsReturn(this ParameterKind parameterKind)
Parameters
Type Name Description
ParameterKind parameterKind
Returns
Type Description
bool

true if parameterKind equals to ReturnValue or ReturnRef, otherwise false.