ScriptTagHelper.Src 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要使用的外部脚本的地址。
public:
property System::String ^ Src { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("src")]
public string Src { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("src")>]
member this.Src : string with get, set
Public Property Src As String
属性值
- 属性
注解
在所有情况下传递到生成的 HTML。