Check the Invoke method of the Delegate class. This method has the
parameters and return value types.

Diego Gonzalez
----- Original Message -----
From: "Łukasz Wielek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2002 3:07 AM
Subject: [DOTNET] Reflecting delegates


Reflecting delegates


How to get information about delegates from module using reflection?

Delegates are stored in assembly as Types and can be retrieved by calling
Module.GetTypes().
It can be distinguished from other types because it is subclass of
System.Delegate.

But how to obtain information about the shape of the delegate : what is
return type and what are
parameters types?

--
WielO
mailto:[EMAIL PROTECTED]
-----------------------------------------------------

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to