ScriptResourceAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ScriptResourceAttribute.

Przeciążenia

ScriptResourceAttribute(String)

Inicjuje nowe wystąpienie klasy ScriptResourceAttribute.

ScriptResourceAttribute(String, String, String)

Inicjuje nowe wystąpienie klasy ScriptResourceAttribute.

ScriptResourceAttribute(String)

Inicjuje nowe wystąpienie klasy ScriptResourceAttribute.

public:
 ScriptResourceAttribute(System::String ^ scriptName);
public ScriptResourceAttribute (string scriptName);
new System.Web.UI.ScriptResourceAttribute : string -> System.Web.UI.ScriptResourceAttribute
Public Sub New (scriptName As String)

Parametry

scriptName
String

Nazwa biblioteki skryptów.

Dotyczy

ScriptResourceAttribute(String, String, String)

Inicjuje nowe wystąpienie klasy ScriptResourceAttribute.

public:
 ScriptResourceAttribute(System::String ^ scriptName, System::String ^ scriptResourceName, System::String ^ typeName);
public:
 ScriptResourceAttribute(System::String ^ scriptName, System::String ^ stringResourceName, System::String ^ stringResourceClientTypeName);
public ScriptResourceAttribute (string scriptName, string scriptResourceName, string typeName);
public ScriptResourceAttribute (string scriptName, string stringResourceName, string stringResourceClientTypeName);
new System.Web.UI.ScriptResourceAttribute : string * string * string -> System.Web.UI.ScriptResourceAttribute
new System.Web.UI.ScriptResourceAttribute : string * string * string -> System.Web.UI.ScriptResourceAttribute
Public Sub New (scriptName As String, scriptResourceName As String, typeName As String)
Public Sub New (scriptName As String, stringResourceName As String, stringResourceClientTypeName As String)

Parametry

scriptName
String

Nazwa biblioteki skryptów.

scriptResourceNamestringResourceName
String

Nazwa pliku zasobu biblioteki skryptów.

typeNamestringResourceClientTypeName
String

Nazwa typu do utworzenia dla wartości w pliku zasobu.

Wyjątki

scriptName, scriptResourceNamelub typeName jest null ciągiem pustym ("").

Uwagi

Metoda ScriptResourceAttribute jest zwykle wywoływana przy użyciu atrybutu ScriptResourceAttribute jako atrybutu zestawu w pliku AssemblyInfo aplikacji.

Dotyczy