CompositeScriptReference.GetUrl(ScriptManager, Boolean) Method

Definition

Returns 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 to compress the script; otherwise, false.

Returns

A string that contains a URL.

Applies to

Tuote Versiot
.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