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)

Syntax

Public ReadOnly Property IsStatic As Boolean
public bool IsStatic { get; }

Property Value

Type: System..::.Boolean
true if this method is static; otherwise, false.

Remarks

A static member cannot access instance data in a class unless it has a reference to an instance of the class.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MethodBase Class

System.Reflection Namespace

Boolean

MethodAttributes