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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.