ScriptManagerDesigner.GetScriptFromWebResource 方法

定义

返回由 ScriptResourceAttribute 特性定义的 ECMAScript (JavaScript) 代码。

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

参数

assembly
Assembly

包含资源的程序集。

resourceName
String

程序集中资源的完全限定名称。

culture
CultureInfo

为其指定资源的区域性。

返回

JavaScript 资源。

适用于

另请参阅