Partager via


IVsHierarchyEvents.OnInvalidateIcon Method

Notifies clients when changes are made to icons.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function OnInvalidateIcon ( _
    hicon As IntPtr _
) As Integer
'Utilisation
Dim instance As IVsHierarchyEvents
Dim hicon As IntPtr
Dim returnValue As Integer

returnValue = instance.OnInvalidateIcon(hicon)
int OnInvalidateIcon(
    IntPtr hicon
)
int OnInvalidateIcon(
    [InAttribute] IntPtr hicon
)
abstract OnInvalidateIcon : 
        hicon:IntPtr -> int 
function OnInvalidateIcon(
    hicon : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsHierarchyEvents::OnInvalidateIcon(
   [in] HICON hicon
);

This method runs only on the local computer. You cannot invoke it remotely.

.NET Framework Security

See Also

Reference

IVsHierarchyEvents Interface

IVsHierarchyEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace