CallerArgumentExpressionAttribute.ParameterName Property

Definition

Gets the name of the parameter whose expression should be captured as a string.

C#
public string ParameterName { get; }

Property Value

The name of the parameter whose expression should be captured.

Applies to

Toode Versioonid
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

See also