TagHelperAttribute Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| TagHelperAttribute(String) |
Crea una instancia de TagHelperAttribute con el especificado |
| TagHelperAttribute(String, Object) |
Crea una instancia de TagHelperAttribute con el especificado |
| TagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
Crea una instancia de TagHelperAttribute con el |
TagHelperAttribute(String)
Crea una instancia de TagHelperAttribute con el especificado name.
ValueStyle se establece en Minimized y Value en 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
Se aplica a
TagHelperAttribute(String, Object)
Crea una instancia de TagHelperAttribute con el especificado name y value. El valor de ValueStyle está establecido en 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
Se aplica a
TagHelperAttribute(String, Object, HtmlAttributeValueStyle)
Crea una instancia de TagHelperAttribute con el namevalue especificado y 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
de ValueStyle la nueva instancia.
Comentarios
Si valueStyle es Minimized, value se omite cuando se representa esta instancia.