Aracılığıyla paylaş


ScriptResourceAttribute Oluşturucular

Tanım

ScriptResourceAttribute sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

ScriptResourceAttribute(String)

ScriptResourceAttribute sınıfının yeni bir örneğini başlatır.

ScriptResourceAttribute(String, String, String)

ScriptResourceAttribute sınıfının yeni bir örneğini başlatır.

ScriptResourceAttribute(String)

ScriptResourceAttribute sınıfının yeni bir örneğini başlatır.

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)

Parametreler

scriptName
String

Betik kitaplığının adı.

Şunlara uygulanır

ScriptResourceAttribute(String, String, String)

ScriptResourceAttribute sınıfının yeni bir örneğini başlatır.

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)

Parametreler

scriptName
String

Betik kitaplığının adı.

scriptResourceNamestringResourceName
String

Betik kitaplığı için kaynak dosyasının adı.

typeNamestringResourceClientTypeName
String

Kaynak dosyasındaki değerler için oluşturulacak türün adı.

Özel durumlar

scriptName, scriptResourceNameveya typeName veya null boş bir dize ("").

Açıklamalar

ScriptResourceAttribute yöntemi genellikle uygulamanın AssemblyInfo dosyasında derleme özniteliği olarak özniteliği kullanılarak ScriptResourceAttribute çağrılır.

Şunlara uygulanır