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.IsStatic Property

Gets a value indicating whether the method is static (Shared in Visual Basic) .

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

Property Value

true if this method is static (Shared in Visual Basic); otherwise, false.

Remarks

A static member cannot implicitly reference instance data in a class.

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 | MethodAttributes

Show:
© 2014 Microsoft