共用方式為


VCCodeBase.IsZombie Property

Definition

Gets whether the VCCodeBase object exists.

public:
 property bool IsZombie { bool get(); };
public:
 property bool IsZombie { bool get(); };
[System.Runtime.InteropServices.DispId(515)]
public bool IsZombie { [System.Runtime.InteropServices.DispId(515)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(515)>]
[<get: System.Runtime.InteropServices.DispId(515)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.IsZombie : bool
Public ReadOnly Property IsZombie As Boolean

Property Value

true if it does not exist; otherwise, false.

Attributes

Remarks

A VCCodeModel object represents the state of that particular object as it were in the file at the time it was retrieved. However, the user can hold a reference to a VCCodeModel object that no longer exists. Because the object no longer exists, calling any method on it fails.

The IsZombie property is true when that particular object no longer exists. This situation can occur when the class declaration has been removed, the project has been closed, or other conditions have arisen.

Applies to