WeakEventManager.SetCurrentManager(Type, WeakEventManager) 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.
Sets the current manager for the specified manager type.
protected:
static void SetCurrentManager(Type ^ managerType, System::Windows::WeakEventManager ^ manager);
protected static void SetCurrentManager (Type managerType, System.Windows.WeakEventManager manager);
static member SetCurrentManager : Type * System.Windows.WeakEventManager -> unit
Protected Shared Sub SetCurrentManager (managerType As Type, manager As WeakEventManager)
Parameters
- managerType
- Type
The type to set the new event manager.
- manager
- WeakEventManager
The new event manager.
Remarks
Call the SetCurrentManager method to initialize a manager, if that is required by a call to your CurrentManager
property on a WeakEventManager implementation.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.