ScriptManagerDesigner.GetApplicationServices 方法

定义

返回 ECMAScript (JavaScript) 代码,该代码表示网页的 ScriptManager 控件和 ScriptManagerProxy 控件中定义的配置文件服务属性。

public:
 static System::String ^ GetApplicationServices(System::Web::UI::ScriptManager ^ scriptManager, System::Collections::Generic::IEnumerable<System::Web::UI::ScriptManagerProxy ^> ^ proxies);
public static string GetApplicationServices (System.Web.UI.ScriptManager scriptManager, System.Collections.Generic.IEnumerable<System.Web.UI.ScriptManagerProxy> proxies);
static member GetApplicationServices : System.Web.UI.ScriptManager * seq<System.Web.UI.ScriptManagerProxy> -> string
Public Shared Function GetApplicationServices (scriptManager As ScriptManager, proxies As IEnumerable(Of ScriptManagerProxy)) As String

参数

scriptManager
ScriptManager

与网页相关联的 ScriptManager 控件。

proxies
IEnumerable<ScriptManagerProxy>

与网页相关联的 ScriptManagerProxy 控件的集合。

返回

String

用于定义配置文件服务属性的 JavaScript 代码。

例外

scriptManagernull

适用于