IVsSwatchClient Interface
Enables creation of custom, owner-drawn swatch controls (color pickers) on menus. For advanced clients.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("E68652D0-396C-4937-95A3-F0AE7ACD0E15")> _
Public Interface IVsSwatchClient
'用途
Dim instance As IVsSwatchClient
[InterfaceTypeAttribute()]
[GuidAttribute("E68652D0-396C-4937-95A3-F0AE7ACD0E15")]
public interface IVsSwatchClient
[InterfaceTypeAttribute()]
[GuidAttribute(L"E68652D0-396C-4937-95A3-F0AE7ACD0E15")]
public interface class IVsSwatchClient
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E68652D0-396C-4937-95A3-F0AE7ACD0E15")>]
type IVsSwatchClient = interface end
public interface IVsSwatchClient
Remarks
You define swatches in the BUTTONS section of a package's CTC file using the type SWATCH.