CurrentChangedEventManager.AddListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified listener to the CurrentChanged event of the specified source.
public:
static void AddListener(System::ComponentModel::ICollectionView ^ source, System::Windows::IWeakEventListener ^ listener);
public static void AddListener (System.ComponentModel.ICollectionView source, System.Windows.IWeakEventListener listener);
static member AddListener : System.ComponentModel.ICollectionView * System.Windows.IWeakEventListener -> unit
Public Shared Sub AddListener (source As ICollectionView, listener As IWeakEventListener)
Parameters
- source
- ICollectionView
The object with the event.
- listener
- IWeakEventListener
The object to add as a listener.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.