Прочетете на английски Редактиране

Споделяне чрез


ScriptReference.GetUrl(ScriptManager, Boolean) Method

Definition

Retrieves the URL that is rendered as the value of the src attribute of the script element.

C#
protected internal override string GetUrl(System.Web.UI.ScriptManager scriptManager, bool zip);

Parameters

scriptManager
ScriptManager

The ScriptManager control on the target Web page.

zip
Boolean

true if the script should be compressed; otherwise, false.

Returns

A string that contains the URL that is rendered as the value of the src attribute of the script element.

Applies to

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1