Sdílet prostřednictvím


VCCodeBase.IsZombie Property

Gets whether the VCCodeBase object exists.

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

Syntax

'Declaration
ReadOnly Property IsZombie As Boolean
'Usage
Dim instance As VCCodeBase
Dim value As Boolean

value = instance.IsZombie
bool IsZombie { get; }
property bool IsZombie {
    bool get ();
}
function get IsZombie () : boolean

Property Value

Type: System.Boolean

true if it does not exist; otherwise, false.

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.

Permissions

See Also

Reference

VCCodeBase Interface

VCCodeBase Members

Microsoft.VisualStudio.VCCodeModel Namespace