UrlResolutionTagHelper.ProcessUrlAttribute(String, TagHelperOutput) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
解析和更新開頭為 '~/' 的 URL 值, (相對於應用程式的 'webroot' 設定) output
NameAttributesattributeName
。
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
用來查閱要解析之值的屬性名稱。
- output
- TagHelperOutput
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應