As has been pointed out previously, assemblies don't implement interfaces. Your
assembly might have dozens of classes in it, and some of those might implement
your interface, so I suspect what you want to do is enumerate the Types in the
assembly that are classes, and then see if those classes implement your
interface.
--
Phil Wilson [MVP Windows Installer]
----
"calderara serge" <se*************@maillefer.net> wrote in message
news:ex**************@tk2msftngp13.phx.gbl...
Hello,
I have tried to retrieve all interface defines in an assembly as follow
:
objType = ass.GetType()
t = objType.GetInterfaces
The assembly is one that I have created and when using GetInterfaces
methode I retrive interface of the assembly but only the system
reflexion runtime interface. It cannot retrives my own interface that I
include in assembly by implements keywords.
how to retrive my own interface ?
thnaks for your help
regards
serge
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!