RazorPageBase.BeginAddHtmlAttributeValues 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開始新增 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)
參數
- executionContext
- TagHelperExecutionContext
- attributeName
- String
屬性的名稱。
- attributeValuesCount
- Int32
屬性值的數目。
- attributeValueStyle
- HtmlAttributeValueStyle