TagHelperExecutionContext.AddTagHelperAttribute Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| AddTagHelperAttribute(TagHelperAttribute) |
Sleduje vázaný ITagHelper atribut. |
| AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
Sleduje vázaný ITagHelper atribut. |
AddTagHelperAttribute(TagHelperAttribute)
Sleduje vázaný ITagHelper atribut.
public:
void AddTagHelperAttribute(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^ attribute);
public void AddTagHelperAttribute (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute);
member this.AddTagHelperAttribute : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> unit
Public Sub AddTagHelperAttribute (attribute As TagHelperAttribute)
Parametry
- attribute
- TagHelperAttribute
Vázaný atribut.
Platí pro
AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)
Sleduje vázaný ITagHelper atribut.
public:
void AddTagHelperAttribute(System::String ^ name, System::Object ^ value, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle valueStyle);
public void AddTagHelperAttribute (string name, object value, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle valueStyle);
member this.AddTagHelperAttribute : string * obj * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> unit
Public Sub AddTagHelperAttribute (name As String, value As Object, valueStyle As HtmlAttributeValueStyle)
Parametry
- name
- String
Název vázaného atributu.
- value
- Object
Hodnota atributu.
- valueStyle
- HtmlAttributeValueStyle
Styl hodnoty atributu.