Export (0) Print
Expand All

MethodBase.IsPrivate Property

Gets a value indicating whether this member is private.

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

Property Value

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

Remarks

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

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:
© 2014 Microsoft