ScriptReferenceBase.NotifyScriptLoaded 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
NotifyScriptLoaded is no longer required in script references.
개체가 Sys.Application 클래스의 클라이언트 NotifyScriptLoaded 메서드를 호출하기 위해 ECMAScript(JavaScript) 파일의 끝에 코드를 자동으로 추가하는지 여부를 ScriptResourceHandler 나타내는 값을 가져오거나 설정합니다.
public:
property bool NotifyScriptLoaded { bool get(); void set(bool value); };
public bool NotifyScriptLoaded { get; set; }
[System.Obsolete("NotifyScriptLoaded is no longer required in script references.")]
public bool NotifyScriptLoaded { get; set; }
member this.NotifyScriptLoaded : bool with get, set
[<System.Obsolete("NotifyScriptLoaded is no longer required in script references.")>]
member this.NotifyScriptLoaded : bool with get, set
Public Property NotifyScriptLoaded As Boolean
속성 값
true
Sys.Application.notifyScriptLoaded 메서드가 JavaScript 파일의 끝에서 자동으로 호출되거나 false 사용자 코드가 이미 JavaScript 파일에 있는 Sys.Application.notifyScriptLoaded 메서드를 호출하는 경우 기본값은 true입니다.
- 특성
설명
NotifyScriptLoaded 어셈블리에서 스크립트 파일을 참조하고 스크립트 파일에 Sys.Application.notifyScriptLoaded를 호출하는 코드가 이미 포함된 경우 속성을 false 설정합니다.
Sys.Application.notifyScriptLoaded 메서드가 스크립트 파일에서 두 번 이상 호출되면 오류가 발생합니다.
어셈블리에 포함되지 않은 독립 실행형 스크립트 파일을 참조하는 경우 Sys.Application.notifyScriptLoaded 메서드를 호출하려면 스크립트 파일의 끝에 코드를 포함해야 합니다.