S Scott Allen Nov 1, 2004 #2 The docs for the FieldInfo class come with a sample that can get you started: http://msdn.microsoft.com/library/d.../frlrfsystemreflectionfieldinfoclasstopic.asp
The docs for the FieldInfo class come with a sample that can get you started: http://msdn.microsoft.com/library/d.../frlrfsystemreflectionfieldinfoclasstopic.asp
T That Guy Nov 4, 2004 #3 Hello, Scott! Are you sure i can extract PROTECTED fields? SA> The docs for the FieldInfo class come with a sample that can get you SA> started: SA> http://msdn.microsoft.com/library/d.../frlrfsystemreflectionfieldinfoclasstopic.asp SA> -- SA> Scott SA> http://www.OdeToCode.com/blogs/scott/ SA> On Mon, 1 Nov 2004 04:53:30 +0200, "That Guy" <[email protected]> SA> wrote: ??>> Hi. ??>> ??>> How to get protected fields of base class using reflection? ??>> ??>> Thanks.
Hello, Scott! Are you sure i can extract PROTECTED fields? SA> The docs for the FieldInfo class come with a sample that can get you SA> started: SA> http://msdn.microsoft.com/library/d.../frlrfsystemreflectionfieldinfoclasstopic.asp SA> -- SA> Scott SA> http://www.OdeToCode.com/blogs/scott/ SA> On Mon, 1 Nov 2004 04:53:30 +0200, "That Guy" <[email protected]> SA> wrote: ??>> Hi. ??>> ??>> How to get protected fields of base class using reflection? ??>> ??>> Thanks.
S Scott Allen Nov 4, 2004 #4 Yes, protected and private fields. Code access security can restrict a partially trusted application from using reflection, but if you are running a local application with full trust, it will be able to reflect over anything.
Yes, protected and private fields. Code access security can restrict a partially trusted application from using reflection, but if you are running a local application with full trust, it will be able to reflect over anything.