WeakEventManager.ListenerList<TEventArgs> Constructor (Int32)

.NET Framework (current version)
 

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
Available since 4.5
Return to top
Show: