RazorPageBase.BeginAddHtmlAttributeValues 方法

定义

开始添加 html 属性值。

public:
 void BeginAddHtmlAttributeValues(Microsoft::AspNetCore::Razor::Runtime::TagHelpers::TagHelperExecutionContext ^ executionContext, System::String ^ attributeName, int attributeValuesCount, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle attributeValueStyle);
public void BeginAddHtmlAttributeValues (Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext executionContext, string attributeName, int attributeValuesCount, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle attributeValueStyle);
member this.BeginAddHtmlAttributeValues : Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext * string * int * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> unit
Public Sub BeginAddHtmlAttributeValues (executionContext As TagHelperExecutionContext, attributeName As String, attributeValuesCount As Integer, attributeValueStyle As HtmlAttributeValueStyle)

参数

attributeName
String

属性名。

attributeValuesCount
Int32

属性值的数目。

适用于