Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VCCodeClass.IsZombie Property

Gets a value indicating whether the VCCodeClass object exists.

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

bool IsZombie { get; }

Property Value

Type: Boolean
true if the object does not exist; otherwise, false.

A VCCodeModel object represents the state of that particular object as it was 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.

© 2015 Microsoft