This documentation is archived and is not being maintained.

Delegate.GetInvocationList Method

Returns the invocation list of the delegate.

[Visual Basic]
Public Overridable Function GetInvocationList() As Delegate()
public virtual Delegate[] GetInvocationList();
public: virtual Delegate* GetInvocationList() [];
public function GetInvocationList() : Delegate[];

Return Value

An array of singlecast (noncombinable) delegates representing the invocation list of the current delegate. If the current delegate is singlecast (noncombinable), the array contains only one element, which is a reference to the current delegate. If the current delegate is multicast (combinable), the array contains one or more elements.


Because the returned array contains only singlecast (noncombinable) delegates, the invocation list of each element is guaranteed to have exactly one entry.

The order of the delegates in the array is the same order in which the current delegate invokes the methods that those delegates represent.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

.NET Framework Security: 

See Also

Delegate Class | Delegate Members | System Namespace