B
billsahiker
How can I use reflection to inspect any assembly and get only the
methods written by the developers of the assembly, not all the built-
in methods. When I use GetMethods on the Module, it returns all the
built-in methods, so for a Form, I get
get_autosize, get_autoscroll, which I do not want. How can I filter
those out? I tried bindingflags,
but any combination of bindingflags returns an empty methodinfo
collection, e.g., "bindingflags.declaredonly or bindingflags.public
or
bindingflags.nonpublic."
Using framework 2.0 and vs2005.
Bill
methods written by the developers of the assembly, not all the built-
in methods. When I use GetMethods on the Module, it returns all the
built-in methods, so for a Form, I get
get_autosize, get_autoscroll, which I do not want. How can I filter
those out? I tried bindingflags,
but any combination of bindingflags returns an empty methodinfo
collection, e.g., "bindingflags.declaredonly or bindingflags.public
or
bindingflags.nonpublic."
Using framework 2.0 and vs2005.
Bill