TagHelperAttribute Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
TagHelperAttribute(String) |
Cria uma instância de TagHelperAttribute com o especificado |
TagHelperAttribute(String, Object) |
Instancia uma nova instância de TagHelperAttribute com o especificado |
TagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
Instancia uma nova instância de TagHelperAttribute com o especificado |
TagHelperAttribute(String)
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
Cria uma instância de TagHelperAttribute com o especificado name
.
ValueStyle é definido como Minimized e Value como null
.
public:
TagHelperAttribute(System::String ^ name);
public TagHelperAttribute (string name);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String)
Parâmetros
Aplica-se a
TagHelperAttribute(String, Object)
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
Instancia uma nova instância de TagHelperAttribute com o especificado name
e value
. ValueStyle é definido como DoubleQuotes.
public:
TagHelperAttribute(System::String ^ name, System::Object ^ value);
public TagHelperAttribute (string name, object value);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string * obj -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String, value As Object)
Parâmetros
Aplica-se a
TagHelperAttribute(String, Object, HtmlAttributeValueStyle)
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
- Origem:
- TagHelperAttribute.cs
Instancia uma nova instância de TagHelperAttribute com o especificado name
e value
valueStyle
.
public:
TagHelperAttribute(System::String ^ name, System::Object ^ value, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle valueStyle);
public TagHelperAttribute (string name, object value, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle valueStyle);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute : string * obj * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute
Public Sub New (name As String, value As Object, valueStyle As HtmlAttributeValueStyle)
Parâmetros
- valueStyle
- HtmlAttributeValueStyle
O ValueStyle da nova instância.
Comentários
Se valueStyle
for Minimized, value
será ignorado quando essa instância for renderizada.
Aplica-se a
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários