ScriptManagerDesigner.GetScriptFromWebResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.