This documentation is archived and is not being maintained.

MethodBase.IsFamily Property

Gets a value indicating whether access to this method is restricted to members of the class and members of its derived classes.

[Visual Basic]
Public ReadOnly Property IsFamily As Boolean
[C#]
public bool IsFamily {get;}
[C++]
public: __property bool get_IsFamily();
[JScript]
public function get IsFamily() : Boolean;

Property Value

true if access to the class is restricted to members of the class itself and to members of its derived classes; otherwise, false.

Remarks

If a type member has Family level visibility it can be called from any member in a derived class, but not from any other type.

Requirements

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

Show: