MethodBase.IsStatic Property (System.Reflection) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a value indicating whether the method is static.

public:
 property bool IsStatic { bool get(); };
public bool IsStatic { get; }
member this.IsStatic : bool
Public ReadOnly Property IsStatic As Boolean

Property Value

true if this method is static; otherwise, false.

Implements

Remarks

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

Applies to

See also