VCCodeStruct.IsZombie - свойство
Gets if the object exists.
Пространство имен: Microsoft.VisualStudio.VCCodeModel
Сборка: Microsoft.VisualStudio.VCCodeModel (в Microsoft.VisualStudio.VCCodeModel.dll)
Синтаксис
'Декларация
ReadOnly Property IsZombie As Boolean
'Применение
Dim instance As VCCodeStruct
Dim value As Boolean
value = instance.IsZombie
bool IsZombie { get; }
property bool IsZombie {
bool get ();
}
function get IsZombie () : boolean
Значение свойства
Тип: System.Boolean
true if the object no longer exists; 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.
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.