Delegate.GetInvocationList Method ()


Returns the invocation list of the delegate.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

abstract GetInvocationList : unit -> Delegate[]
override GetInvocationList : unit -> Delegate[]

Return Value

Type: System.Delegate[]

An array of delegates representing the invocation list of the current delegate.

Each delegate in the array represents exactly one method.

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

The following example assigns three methods to a delegate. It then calls the GetInvocationList method to get a total count of the methods assigned to the delegate, to execute the delegates in reverse order, and to execute the methods whose name do not include the substring "File".

No code example is currently available or this language may not be supported.


when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top