ScriptManager.GetRegisteredClientScriptBlocks 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索先前已向 ScriptManager 控件注册的客户端脚本块的只读集合。
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredScript ^> ^ GetRegisteredClientScriptBlocks();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript> GetRegisteredClientScriptBlocks ();
member this.GetRegisteredClientScriptBlocks : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript>
Public Function GetRegisteredClientScriptBlocks () As ReadOnlyCollection(Of RegisteredScript)
返回
一个包含客户端脚本块的泛型集合。
注解
客户端脚本块注册到控件, ScriptManager 以便与控件内部的控件一 UpdatePanel 起使用。