InterpolatedStringHandlerArgumentAttribute 建構函式

定義

多載

InterpolatedStringHandlerArgumentAttribute(String)

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

InterpolatedStringHandlerArgumentAttribute(String[])

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

InterpolatedStringHandlerArgumentAttribute(String)

來源:
InterpolatedStringHandlerArgumentAttribute.cs
來源:
InterpolatedStringHandlerArgumentAttribute.cs
來源:
InterpolatedStringHandlerArgumentAttribute.cs

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

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

參數

argument
String

應該傳遞至處理程式的自變數名稱。

備註

空字串可用來做為實例方法中接收者的名稱。

適用於

InterpolatedStringHandlerArgumentAttribute(String[])

來源:
InterpolatedStringHandlerArgumentAttribute.cs
來源:
InterpolatedStringHandlerArgumentAttribute.cs
來源:
InterpolatedStringHandlerArgumentAttribute.cs

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

public:
 InterpolatedStringHandlerArgumentAttribute(... cli::array <System::String ^> ^ arguments);
public InterpolatedStringHandlerArgumentAttribute (params string[] arguments);
new System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute : string[] -> System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute
Public Sub New (ParamArray arguments As String())

參數

arguments
String[]

應該傳遞至處理程式的自變數名稱。

備註

空字串可用來做為實例方法中接收者的名稱。

適用於