共用方式為


VCCodeClass.IsAbstract Property

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

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
Property IsAbstract As Boolean
    Get
    Set
bool IsAbstract { get; set; }
property bool IsAbstract {
    bool get ();
    void set (bool value);
}
abstract IsAbstract : bool with get, set
function get IsAbstract () : boolean
function set IsAbstract (value : boolean)

Property Value

Type: System.Boolean
true if the item is declared as abstract; otherwise, false.

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.

.NET Framework Security

See Also

Reference

VCCodeClass Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples