語言

CallerArgumentExpressionAttribute(String) 建構函式

定義

初始化 CallerArgumentExpressionAttribute 類別的新執行個體。

public:
 CallerArgumentExpressionAttribute(System::String ^ parameterName);
public CallerArgumentExpressionAttribute(string parameterName);
new System.Runtime.CompilerServices.CallerArgumentExpressionAttribute : string -> System.Runtime.CompilerServices.CallerArgumentExpressionAttribute
Public Sub New (parameterName As String)

參數

parameterName
String

參數名稱,其表達式應該以字串形式捕捉。

適用於