共用方式為


ScriptTagHelper.SrcExclude 屬性

定義

要從載入中排除之 JavaScript 腳本的萬用字元檔案模式逗號分隔清單。 Glob 模式會相對於應用程式的 'webroot' 設定進行評估。 必須與 搭配 SrcInclude 使用。

public:
 property System::String ^ SrcExclude { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-src-exclude")]
public string SrcExclude { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-src-exclude")>]
member this.SrcExclude : string with get, set
Public Property SrcExclude As String

屬性值

屬性

適用於