ScriptResourceAttribute 생성자

정의

ScriptResourceAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
ScriptResourceAttribute(String)

ScriptResourceAttribute 클래스의 새 인스턴스를 초기화합니다.

ScriptResourceAttribute(String, String, String)

ScriptResourceAttribute 클래스의 새 인스턴스를 초기화합니다.

ScriptResourceAttribute(String)

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)

매개 변수

scriptName
String

스크립트 라이브러리의 이름입니다.

적용 대상

ScriptResourceAttribute(String, String, String)

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)

매개 변수

scriptName
String

스크립트 라이브러리의 이름입니다.

scriptResourceNamestringResourceName
String

스크립트 라이브러리에 대한 리소스 파일의 이름입니다.

typeNamestringResourceClientTypeName
String

리소스 파일의 값에 대해 만들 형식의 이름입니다.

예외

scriptName, scriptResourceName또는 typeName 빈 문자열("")입니다 null .

설명

ScriptResourceAttribute 이 메서드는 일반적으로 애플리케이션의 AssemblyInfo 파일에서 어셈블리 특성으로 특성을 사용하여 ScriptResourceAttribute 호출됩니다.

적용 대상