MethodBase.IsStatic Property

July 28, 2014

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

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public bool IsStatic { get; }

Property Value

Type: System.Boolean
true 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

Windows Phone

Show:
© 2014 Microsoft