Aracılığıyla paylaş


IVsHierarchyEvents.OnItemDeleted Yöntem (UInt32)

 

Bir öğe hiyerarşiden silindiğinde istemcileri bildirir.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int OnItemDeleted(
    uint itemid
)
int OnItemDeleted(
    unsigned int itemid
)
abstract OnItemDeleted : 
        itemid:uint32 -> int
Function OnItemDeleted (
    itemid As UInteger
) As Integer

Parametreler

  • itemid
    Type: System.UInt32

    [in] Silinmiş öğeyi tanıtıcısı. Bu hiyerarşiye eklendiğinde, yeni madde hiyerarşisi tarafından atanan aynı tanımlayıcısıdır.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

COM imza

Vsshell.idl:

HRESULT IVsHierarchyEvents::OnItemDeleted(
   [in] VSITEMID itemid
);

Ayrıca bkz.

IVsHierarchyEvents Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön