This documentation is archived and is not being maintained.

MethodBase.IsFamilyOrAssembly Property

Gets a value indicating whether this method can be called by derived classes, wherever they are, and by all classes in the same assembly.

[Visual Basic]
Public ReadOnly Property IsFamilyOrAssembly As Boolean
public bool IsFamilyOrAssembly {get;}
public: __property bool get_IsFamilyOrAssembly();
public function get IsFamilyOrAssembly() : Boolean;

Property Value

true if access to this method is restricted to members of the class itself, members of derived classes wherever they are, and members of other classes in the same assembly; otherwise, false.


If a type member has FamilyOrAssembly level visibility it can be called from any member in a derived class or any member in the same assembly, but not from any other type.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

MethodBase Class | MethodBase Members | System.Reflection Namespace | Boolean