Export (0) Print
Expand All

Delegate.GetInvocationList Method

Returns the invocation list of the delegate.

[Visual Basic]
Public Overridable Function GetInvocationList() As Delegate()
[C#]
public virtual Delegate[] GetInvocationList();
[C++]
public: virtual Delegate* GetInvocationList() [];
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft