다음을 통해 공유


IVsHierarchyEvents.OnInvalidateIcon(IntPtr) Method

Definition

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.

Applies to