IsAbstract Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value indicating whether the method is abstract.

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

public bool IsAbstract { get; }

Property Value

Type: System..::..Boolean
true if the method is abstract; otherwise, false.

An abstract member is declared on a base class and has no implementation supplied.

To get the MethodBase, first get the type. From the type, get the method. From the method, get the MethodBase. If the MethodBase or constructor is other than public, it is protected and cannot be readily accessed. To access a non-public method, set the BindingFlags mask to NonPublic in GetMethod.

Show: