This documentation is archived and is not being maintained.
MethodBase.IsStatic Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether the method is static (Shared in Visual Basic).
Namespace:
System.Reflection
Assembly:
mscorlib (in mscorlib.dll)
'Declaration
Public ReadOnly Property IsStatic As Boolean
Property Value
Type:
System.Booleantrue if this method is static; otherwise, false.
A static member cannot access instance data in a class unless it has a reference to an instance of the class.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0