WeakEventManager.ListenerList<TEventArgs> Constructors
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.
Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class.
Overloads
WeakEventManager.ListenerList<TEventArgs>() |
Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class. |
WeakEventManager.ListenerList<TEventArgs>(Int32) |
Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class with the specified initial capacity. |
WeakEventManager.ListenerList<TEventArgs>()
Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class.
public:
ListenerList();
public ListenerList ();
Public Sub New ()
Applies to
WeakEventManager.ListenerList<TEventArgs>(Int32)
Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class with the specified initial capacity.
public:
ListenerList(int capacity);
public ListenerList (int capacity);
new System.Windows.WeakEventManager.ListenerList<'EventArgs (requires 'EventArgs :> EventArgs)> : int -> System.Windows.WeakEventManager.ListenerList<'EventArgs (requires 'EventArgs :> EventArgs)>
Public Sub New (capacity As Integer)
Parameters
- capacity
- Int32
The number of items that should be allocated in the initial list.
Applies to
.NET