A
Abdessamad Belangour
Hi,
I want to get the visiblity kind of a FieldInfo object.
The "IsPublic" ans "IsPrivate" properties give the required information for
public and private visibilities. My questions are:
1. What about "protected" visibility?
2. What exactly do we mean by Family ? Is it a hierarchy of deriving
classes?
3. If a field is IsFamily, does it mean it's protected?
4. I tried to get some information through the example of msdn at :
http://longhorn.msdn.microsoft.com/lhsdk/ref/ns/system.reflection/c/fieldinfo/p/isfamily.aspx
but i do not succeed to run it. It seems that the GetField method is unable
to get a field by it's name.
Any help would be appreciated.
Thanks in advance.
Abdessamad.
I want to get the visiblity kind of a FieldInfo object.
The "IsPublic" ans "IsPrivate" properties give the required information for
public and private visibilities. My questions are:
1. What about "protected" visibility?
2. What exactly do we mean by Family ? Is it a hierarchy of deriving
classes?
3. If a field is IsFamily, does it mean it's protected?
4. I tried to get some information through the example of msdn at :
http://longhorn.msdn.microsoft.com/lhsdk/ref/ns/system.reflection/c/fieldinfo/p/isfamily.aspx
but i do not succeed to run it. It seems that the GetField method is unable
to get a field by it's name.
Any help would be appreciated.
Thanks in advance.
Abdessamad.