다음을 통해 공유


TagHelperExecutionContext.AddHtmlAttribute 메서드

정의

오버로드

AddHtmlAttribute(TagHelperAttribute)

HTML 특성을 추적합니다.

AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)

HTML 특성을 추적합니다.

AddHtmlAttribute(TagHelperAttribute)

Source:
TagHelperExecutionContext.cs
Source:
TagHelperExecutionContext.cs
Source:
TagHelperExecutionContext.cs

HTML 특성을 추적합니다.

public:
 void AddHtmlAttribute(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^ attribute);
public void AddHtmlAttribute (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute);
member this.AddHtmlAttribute : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> unit
Public Sub AddHtmlAttribute (attribute As TagHelperAttribute)

매개 변수

attribute
TagHelperAttribute

추적할 입니다 TagHelperAttribute .

적용 대상

AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)

Source:
TagHelperExecutionContext.cs
Source:
TagHelperExecutionContext.cs
Source:
TagHelperExecutionContext.cs

HTML 특성을 추적합니다.

public:
 void AddHtmlAttribute(System::String ^ name, System::Object ^ value, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle valueStyle);
public void AddHtmlAttribute (string name, object value, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle valueStyle);
member this.AddHtmlAttribute : string * obj * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> unit
Public Sub AddHtmlAttribute (name As String, value As Object, valueStyle As HtmlAttributeValueStyle)

매개 변수

name
String

HTML 특성 이름입니다.

value
Object

HTML 특성 값입니다.

valueStyle
HtmlAttributeValueStyle

특성의 값 스타일입니다.

적용 대상