Freigeben über


msSiteModeClearIconOverlay method

Removes the icon overlay from the taskbar button.

This method is not supported for Windows apps using JavaScript.

 

Syntax

HRESULT retVal = object.msSiteModeClearIconOverlay();

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

E_ACCESSDENIED

The current page is not a pinned site.

E_NOTIMPL

This method is not supported on Windows CE.

 

Standards information

There are no standards that apply here.

Remarks

This method clears an icon overlay that was previously set with the IShellUIHelper4::msSiteModeSetIconOverlay method. Icon overlays communicate alerts, notifications, and application status to users.

Each pinned site button on the taskbar can declare one icon overlay. If the taskbar button represents a group of windows, the icon overlay might be replaced by another in the group when it is removed.

See also

IShellUIHelper4::msSiteModeSetIconOverlay