Share via


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)

Syntax

'Declaration
Public ReadOnly Property IsAbstract As Boolean
public bool IsAbstract { get; }
public:
property bool IsAbstract {
    bool get ();
}
member IsAbstract : bool with get
function get IsAbstract () : boolean

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

MethodBase Class

System.Reflection Namespace