IVsHierarchyEvents::OnInvalidateIcon Method (IntPtr)

 

Notifies clients when changes are made to icons.

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

int OnInvalidateIcon(
	IntPtr hicon
)

Parameters

hicon
Type: System::IntPtr

[in] Icon handle.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

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

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

Return to top
Show: