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
'Declaración
Function OnInvalidateIcon ( _
hicon As IntPtr _
) As Integer
'Uso
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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.