編輯

共用方式為


WeakEventManager.ListenerList.Purge Method

Definition

Removes all entries from the list where the underlying reference target is a null reference.

public:
 bool Purge();
public bool Purge ();
member this.Purge : unit -> bool
Public Function Purge () As Boolean

Returns

Returns true if any entries were purged; otherwise, false.

Applies to