IVsHierarchyEvents.OnInvalidateIcon(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies clients when changes are made to icons.
public:
int OnInvalidateIcon(IntPtr hicon);
public int OnInvalidateIcon (IntPtr hicon);
abstract member OnInvalidateIcon : nativeint -> int
Public Function OnInvalidateIcon (hicon As IntPtr) As Integer
Parameters
- hicon
-
IntPtr
nativeint
[in] Icon handle.
Returns
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.