共用方式為


UrlResolutionTagHelper.ProcessUrlAttribute(String, TagHelperOutput) 方法

定義

解析和更新開頭為 '~/' 的 URL 值, (相對於應用程式的 'webroot' 設定) outputNameAttributesattributeName

protected:
 void ProcessUrlAttribute(System::String ^ attributeName, Microsoft::AspNetCore::Razor::TagHelpers::TagHelperOutput ^ output);
protected void ProcessUrlAttribute (string attributeName, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output);
member this.ProcessUrlAttribute : string * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput -> unit
Protected Sub ProcessUrlAttribute (attributeName As String, output As TagHelperOutput)

參數

attributeName
String

用來查閱要解析之值的屬性名稱。

適用於