CollectionView.DetachFromSourceCollection CollectionView.DetachFromSourceCollection CollectionView.DetachFromSourceCollection CollectionView.DetachFromSourceCollection Method

정의

CollectionView에서 기본 컬렉션에 대한 참조를 제거합니다.Removes the reference to the underlying collection from the CollectionView.

public:
 virtual void DetachFromSourceCollection();
public virtual void DetachFromSourceCollection ();
abstract member DetachFromSourceCollection : unit -> unit
override this.DetachFromSourceCollection : unit -> unit
Public Overridable Sub DetachFromSourceCollection ()

설명

이 메서드를 사용 하 여 기본 컬렉션에 이벤트를 구독 취소를 허용 합니다 CollectionView 가비지 수집 되도록 합니다.Use this method to unsubscribe to events on the underlying collection and allow the CollectionView to be garbage collected.

적용 대상