how to get info about the interface using reflection
-
rite now am working on .net framework 2.0 am in need to get the information about the interface at the run time. how can i achive this by using reflection.. please help me its urgent Karthick.N -- modified at 9:05 Wednesday 3rd October, 2007
-
rite now am working on .net framework 2.0 am in need to get the information about the interface at the run time. how can i achive this by using reflection.. please help me its urgent Karthick.N -- modified at 9:05 Wednesday 3rd October, 2007
karthick.n.mca wrote:
please help me its urgent
It's always urgent. Just once, I'd like to see somebody say "No hurry. I'm just shooting the breeze." Perhaps if it's urgent, you would actually like to supply some meaningful information. What interface? The UI? IEnumerable? Flushing the toilet?
Deja View - the feeling that you've seen this post before.
-
karthick.n.mca wrote:
please help me its urgent
It's always urgent. Just once, I'd like to see somebody say "No hurry. I'm just shooting the breeze." Perhaps if it's urgent, you would actually like to supply some meaningful information. What interface? The UI? IEnumerable? Flushing the toilet?
Deja View - the feeling that you've seen this post before.
sorry dude.. I want to get the information like what are methods are associated and the method names at run time...
-
sorry dude.. I want to get the information like what are methods are associated and the method names at run time...
So you're asking how to get the method information for a particular type?
MethodInfo[] methods = this.GetType().GetMethods();
From here you can find out information about method names, scope etc...
Deja View - the feeling that you've seen this post before.
-
So you're asking how to get the method information for a particular type?
MethodInfo[] methods = this.GetType().GetMethods();
From here you can find out information about method names, scope etc...
Deja View - the feeling that you've seen this post before.
thank q...:-D
-
thank q...:-D
karthick.n.mca wrote:
thank q...
No problem.
Deja View - the feeling that you've seen this post before.