共用方式為


__VSOVERLAYICON2 Enumeration

Provides additional members for the VSOVERLAYICON enumeration.

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

Syntax

'宣告
Public Enumeration __VSOVERLAYICON2
'用途
Dim instance As __VSOVERLAYICON2
public enum __VSOVERLAYICON2
public enum class __VSOVERLAYICON2
type __VSOVERLAYICON2
public enum __VSOVERLAYICON2

Members

Member name Description
OVERLAYICON_EXCLUDED Overlay icon is excluded.
OVERLAYICON_NOTONDISK Overlay icon is not on disk.
OVERLAYICON_MAXINDEX2 Indicates the last VSOVERLAYICON2.

Remarks

This is the overlay icon that the UI hierarchy returns when asked for VSHPROPID_OverlayIconIndex. This will be transparently drawn on top of the item's normal icon.

COM Signature

From vsshell80.idl:

enum __VSOVERLAYICON2
{
    OVERLAYICON_EXCLUDED        = 5,
    OVERLAYICON_NOTONDISK       = 6,
    OVERLAYICON_MAXINDEX2        = 6
};
typedef DWORD VSOVERLAYICON2;   // different type than original

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace