ScriptManagerDesigner.GetScriptFromWebResource Method (Assembly, String, CultureInfo)

 

Returns ECMAScript (JavaScript) code that is defined by the ScriptResourceAttribute attribute.

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

Public Shared Function GetScriptFromWebResource (
	assembly As Assembly,
	resourceName As String,
	culture As CultureInfo
) As String

Parameters

assembly
Type: System.Reflection.Assembly

The assembly that contains the resource.

resourceName
Type: System.String

The fully qualified name of the resource in the assembly.

culture
Type: System.Globalization.CultureInfo

The culture that the resource is specified for.

Return Value

Type: System.String

The JavaScript resource.

.NET Framework
Available since 3.5
Return to top
Show: