Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
[C#]
public bool IsFamilyOrAssembly {get;}
[C++]
public: __property bool get_IsFamilyOrAssembly();
[JScript]
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.

Remarks

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.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft