InterpolatedStringHandlerArgumentAttribute Construtores

Definição

Sobrecargas

InterpolatedStringHandlerArgumentAttribute(String)

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

Inicializa uma nova instância da InterpolatedStringHandlerArgumentAttribute classe.

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 ao handler.

Observações

A corda vazia pode ser usada como nome do recetor num método de instância.

Aplica-se a

InterpolatedStringHandlerArgumentAttribute(String[])

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

Inicializa uma nova instância da InterpolatedStringHandlerArgumentAttribute classe.

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 deveriam ser passados ao handler.

Observações

A corda vazia pode ser usada como nome do recetor num método de instância.

Aplica-se a