Open sandboxFocus

Method IsByRefParameter

IsByRefParameter(ParameterKind)

Determines whether a parameter of a given ParameterKind is passed by reference (but is not the return parameter).

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

A ParameterKind.

Returns
Type Description
bool

true if parameterKind equals ByRefIn, ByRefOut or ByRefInOut, otherwise false.