共用方式為


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 資源。

適用於

另請參閱