Open sandboxFocus

Method IsOutputParameter

IsOutputParameter(ParameterKind)

Determines whether a parameter of a given ParameterKind has a meaningful output value (but is not the return parameter). In C#, these are the ref and out parameters.

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

A ParameterKind.

Returns
Type Description
bool

true if parameterKind equals ByRefOut or ByRefInOut, otherwise false.