Condividi tramite


ScriptManagerDesigner.GetScriptFromWebResource Metodo

Definizione

Restituisce il codice ECMAScript (JavaScript) definito dall'attributo ScriptResourceAttribute.

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

Parametri

assembly
Assembly

Assembly che contiene la risorsa.

resourceName
String

Nome completo della risorsa nell'assembly.

culture
CultureInfo

Impostazioni cultura per le quali viene specificata la risorsa.

Restituisce

Risorsa JavaScript.

Si applica a

Vedi anche