InterpolatedStringHandlerArgumentAttribute Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| InterpolatedStringHandlerArgumentAttribute(String) |
Inicializa uma nova instância da InterpolatedStringHandlerArgumentAttribute classe. |
| InterpolatedStringHandlerArgumentAttribute(String[]) |
Inicializa uma nova instância da InterpolatedStringHandlerArgumentAttribute classe. |
InterpolatedStringHandlerArgumentAttribute(String)
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[])
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.