Edit

Share via


ScriptManagerDesigner.GetScriptFromWebResource Method

Definition

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

public:
 static System::String ^ GetScriptFromWebResource(System::Reflection::Assembly ^ assembly, System::String ^ resourceName, System::Globalization::CultureInfo ^ culture);
public static string GetScriptFromWebResource (System.Reflection.Assembly assembly, string resourceName, System.Globalization.CultureInfo culture);
static member GetScriptFromWebResource : System.Reflection.Assembly * string * System.Globalization.CultureInfo -> string
Public Shared Function GetScriptFromWebResource (assembly As Assembly, resourceName As String, culture As CultureInfo) As String

Parameters

assembly
Assembly

The assembly that contains the resource.

resourceName
String

The fully qualified name of the resource in the assembly.

culture
CultureInfo

The culture that the resource is specified for.

Returns

The JavaScript resource.

Applies to

See also