Export (0) Print
Expand All

IsZombie Property

Visual Studio .NET 2003

Determines if the parent object exists.

[Visual Basic .NET]
Public ReadOnly Property IsZombie() As Boolean
[Visual Basic 6]
Property Get IsZombie() As Boolean
HRESULT __stdcall get_IsZombie(
   /* [out, retval] */ VARIANT_BOOL* retVal
public bool IsZombie {get;}
[JScript .NET]
public function get IsZombie() : Boolean


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.


For an example of usage, see the DocExplorer sample.

See Also

Applies To: VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeUsing Object | VCCodeVariable Object

© 2015 Microsoft