This documentation is archived and is not being maintained.

MethodBase.IsPrivate Property

Gets a value indicating whether this member is private.

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

Property Value

true if access to this method is restricted to other members of the class itself; otherwise, false.


If a type member has Private level visibility, it can be called from any member in the same class and no others.


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