WeakEventManager.ListenerList<TEventArgs> Constructor (Int32)

.NET Framework 4.6 and 4.5

Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class with the specified initial capacity.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public ListenerList(
	int capacity
)

Parameters

capacity
Type: System.Int32

The number of items that should be allocated in the initial list.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft