InterpolatedStringHandlerArgumentAttribute Konstruktorer

Definition

Överlagringar

InterpolatedStringHandlerArgumentAttribute(String)

Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs

Initierar en ny instans av InterpolatedStringHandlerArgumentAttribute klassen.

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)

Parametrar

argument
String

Namnet på argumentet som ska skickas till hanteraren.

Kommentarer

Den tomma strängen kan användas som namnet på mottagaren i en instansmetod.

Gäller för

InterpolatedStringHandlerArgumentAttribute(String[])

Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs
Källa:
InterpolatedStringHandlerArgumentAttribute.cs

Initierar en ny instans av InterpolatedStringHandlerArgumentAttribute klassen.

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())

Parametrar

arguments
String[]

Namnen på argumenten som ska skickas till hanteraren.

Kommentarer

Den tomma strängen kan användas som namnet på mottagaren i en instansmetod.

Gäller för