Udostępnij za pośrednictwem


CodeStruct2.IsAbstract Property

Definition

Gets or sets a value indicating whether or not an item is declared as abstract.

public:
 property bool IsAbstract { bool get(); void set(bool value); };
public:
 property bool IsAbstract { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(62)]
public bool IsAbstract { [System.Runtime.InteropServices.DispId(62)] get; [System.Runtime.InteropServices.DispId(62)] set; }
[<System.Runtime.InteropServices.DispId(62)>]
[<get: System.Runtime.InteropServices.DispId(62)>]
[<set: System.Runtime.InteropServices.DispId(62)>]
member this.IsAbstract : bool with get, set
Public Property IsAbstract As Boolean

Property Value

A Boolean that is true if the item is declared as abstract; otherwise, false.

Implements

Attributes

Remarks

IsAbstract returns or sets whether the class currently appears to be abstract (the class may not be declared abstract, but may be implicitly), or requires a subclass that fills in any method implementations that are missing due to abstract methods. For some languages this may always be false.

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Applies to