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

參數的名稱,其表達式應該擷取為字串。

適用於