Compartilhar 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

'Declaration
Function OnInvalidateIcon ( _
    hicon As IntPtr _
) As Integer
int OnInvalidateIcon(
    IntPtr hicon
)
int OnInvalidateIcon(
    [InAttribute] IntPtr hicon
)
abstract OnInvalidateIcon : 
        hicon:IntPtr -> int
function OnInvalidateIcon(
    hicon : IntPtr
) : int

Parameters

  • hicon
    Type: IntPtr

    [in] Icon handle.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace