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

Definizione

Rimuove il riferimento alla raccolta sottostante da 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 ()

Commenti

Usare questo metodo per annullare la sottoscrizione agli eventi per la raccolta sottostante e consentire il CollectionView da sottoporre a garbage collection.Use this method to unsubscribe to events on the underlying collection and allow the CollectionView to be garbage collected.

Si applica a