WeakEventManager.ListenerList.IsEmpty 속성

정의

WeakEventManager.ListenerList가 비어 있는지 여부를 선언하는 값을 가져옵니다.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

속성 값

Boolean

목록이 비어 있으면 true이고, 그렇지 않으면 false입니다.

설명

이 메서드는 0인지 여부를 Count 확인하는 것과 동일하며 목록의 참조가 현재 부실한지 여부를 확인하지 않습니다. 모든 참조가 여전히 유효한지 확인하려면 목록의 빈 상태를 확인하기 직전에 호출 Purge 합니다.

적용 대상