Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Function DynamicInvoke ( _ ParamArray args As Object() _ ) As Object 'Usage Dim instance As Delegate Dim args As Object() Dim returnValue As Object returnValue = instance.DynamicInvoke(args)
An array of objects that are the arguments to pass to the method represented by the current delegate.
a null reference (Nothing in Visual Basic), if the method represented by the current delegate does not require arguments.
Return ValueThe object returned by the method represented by the delegate.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
The number, order, or type of parameters listed in args is invalid.
The method represented by the delegate is an instance method and the target object is a null reference (Nothing in Visual Basic).
The method represented by the delegate is invoked on an object or a class that does not support it.
One of the encapsulated methods throws an exception.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.