IScriptControl.GetScriptReferences Method ()

 

Gets a collection of ScriptReference objects that define script resources that the control requires.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

Function GetScriptReferences As IEnumerable(Of ScriptReference)

Return Value

Type: System.Collections.Generic.IEnumerable(Of ScriptReference)

An IEnumerable collection of ScriptReference objects.

Implement this method to define custom script library dependencies that the server control requires, such as scripts in a Scripts folder of the current Web application, or resources in an assembly. Scripts from the Microsoft Ajax Library do not have to be registered in this manner.

.NET Framework
Available since 3.5
Return to top
Show: