Share via


InterpolatedStringHandlerArgumentAttribute Construtores

Definição

Sobrecargas

InterpolatedStringHandlerArgumentAttribute(String)

Inicializa uma nova instância da classe InterpolatedStringHandlerArgumentAttribute.

InterpolatedStringHandlerArgumentAttribute(String[])

Inicializa uma nova instância da classe InterpolatedStringHandlerArgumentAttribute.

InterpolatedStringHandlerArgumentAttribute(String)

Origem:
InterpolatedStringHandlerArgumentAttribute.cs
Origem:
InterpolatedStringHandlerArgumentAttribute.cs
Origem:
InterpolatedStringHandlerArgumentAttribute.cs

Inicializa uma nova instância da classe 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)

Parâmetros

argument
String

O nome do argumento que deve ser passado para o manipulador.

Comentários

A cadeia de caracteres vazia pode ser usada como o nome do receptor em um método de instância.

Aplica-se a

InterpolatedStringHandlerArgumentAttribute(String[])

Origem:
InterpolatedStringHandlerArgumentAttribute.cs
Origem:
InterpolatedStringHandlerArgumentAttribute.cs
Origem:
InterpolatedStringHandlerArgumentAttribute.cs

Inicializa uma nova instância da classe 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())

Parâmetros

arguments
String[]

Os nomes dos argumentos que devem ser passados para o manipulador.

Comentários

A cadeia de caracteres vazia pode ser usada como o nome do receptor em um método de instância.

Aplica-se a