Summary
Initializes a new instance of the
CallerArgumentExpressionAttribute
class.
- Namespace
-
System
.Runtime .CompilerServices - Containing Type
-
Caller
Argument Expression Attribute
Syntax
public CallerArgumentExpressionAttribute(string parameterName)
Parameters
| Name | Type | Description |
|---|---|---|
| parameterName | string | The name of the targeted parameter. |
Return Value
| Type | Description |
|---|---|
| void |