System.Reflection.FieldInfo.IsFamilyAndAssembly Property

Gets a value indicating whether the visibility of this field is described by FieldAttributes.FamANDAssem; that is, the field can be accessed from derived classes, but only if they are in the same assembly.

Syntax

public bool IsFamilyAndAssembly { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If a field has FieldAttributes.FamANDAssem level visibility, it can be called from any member in a derived class that is also in the same assembly, but not from any other type.

The visibility of a field is exactly described by FieldAttributes.FamANDAssem if the visibility modifier is protected private in C++. Fields with this visibility cannot be defined in Visual Basic or C#.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0