共用方式為


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

屬性值的數目。

適用於