Open sandboxFocus

Method IsByRef

IsByRef(RefKind)

Determines whether the parameter or return value represents a reference (in and out properties, ref and ref readonly methods and properties).

Declaration
public static bool IsByRef(this RefKind kind)
Parameters
Type Name Description
RefKind kind

The RefKind to check.

Returns
Type Description
bool

true if the kind represents a by-reference parameter or return; otherwise, false.