K
Ken Varn
I have an ASP.NET application that is calling a custom class that is trying
to parse all of the members of my Page object using Type.GetMembers(). The
problem that I am having is that private members are not returned. I did
some digging and the MSDN documentation states that the caller must have
ReflectionPermission in order to get the private members of a class. I am a
little unfamiliar with this stipulation. I have checked the docs on
ReflectionPermission, but the examples do not make much sense. Could
someone please clarify on what I need to do in order for my code to be able
to parse private members of my Page using reflection?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
to parse all of the members of my Page object using Type.GetMembers(). The
problem that I am having is that private members are not returned. I did
some digging and the MSDN documentation states that the caller must have
ReflectionPermission in order to get the private members of a class. I am a
little unfamiliar with this stipulation. I have checked the docs on
ReflectionPermission, but the examples do not make much sense. Could
someone please clarify on what I need to do in order for my code to be able
to parse private members of my Page using reflection?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------