UsableDuringInitializationAttribute(Boolean) 생성자
정의
UsableDuringInitializationAttribute 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the UsableDuringInitializationAttribute class.
public:
UsableDuringInitializationAttribute(bool usable);
public UsableDuringInitializationAttribute (bool usable);
new System.Windows.Markup.UsableDuringInitializationAttribute : bool -> System.Windows.Markup.UsableDuringInitializationAttribute
Public Sub New (usable As Boolean)
매개 변수
- usable
- Boolean
초기화하는 동안 관련된 클래스를 사용할 수 있는지 여부를 정의합니다.Defines whether the associated class is usable during initialization.
설명
이 특성은를 상속 합니다.This attribute inherits. 초기 애플리케이션에 대 한 일반적으로 [UsableDuringInitialization(true)]
를 설정할 수 있습니다 하지만 [UsableDuringInitialization(false)]
동작의 파생된 클래스 보고 변경 하는 파생된 클래스에서.For the initial application you would typically apply as [UsableDuringInitialization(true)]
, but you could then set [UsableDuringInitialization(false)]
on a derived class to change the derived class reporting of the behavior.