ScriptManagerProxy.Scripts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a ScriptReferenceCollection object that contains a ScriptReference object for each script file that is explicitly registered with the ScriptManagerProxy control.
public:
property System::Web::UI::ScriptReferenceCollection ^ Scripts { System::Web::UI::ScriptReferenceCollection ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.ScriptReferenceCollection Scripts { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.Scripts : System.Web.UI.ScriptReferenceCollection
Public ReadOnly Property Scripts As ScriptReferenceCollection
Property Value
A collection of ScriptReference objects for each script file that the ScriptManagerProxy control sends to the browser.
- Attributes
Remarks
The Scripts collection enables you to add script references to any scripts that are already registered with the ScriptManager control.
You can add script references to the Scripts collection declaratively by using the ScriptReference
element. You can add script references programmatically by adding ScriptReference objects to the Scripts collection.
If a script is already registered with the ScriptManagerProxy or ScriptManager control, the script is not registered again.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應