ScriptControl.GetScriptReferences 方法

定義

當在衍生類別中覆寫時,會回傳控制項的腳本檔案。

protected:
 abstract System::Collections::Generic::IEnumerable<System::Web::UI::ScriptReference ^> ^ GetScriptReferences();
protected abstract System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> GetScriptReferences();
abstract member GetScriptReferences : unit -> seq<System.Web.UI.ScriptReference>
Protected MustOverride Function GetScriptReferences () As IEnumerable(Of ScriptReference)

傳回

一個 IEnumerable 包含已註冊為嵌入式資源的 ECMAScript(JavaScript)檔案集合。

適用於