共用方式為


IVsSwatchClient Interface

Definition

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

public interface class IVsSwatchClient
public interface class IVsSwatchClient
__interface IVsSwatchClient
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("E68652D0-396C-4937-95A3-F0AE7ACD0E15")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSwatchClient
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("E68652D0-396C-4937-95A3-F0AE7ACD0E15")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSwatchClient
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("E68652D0-396C-4937-95A3-F0AE7ACD0E15")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSwatchClient = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("E68652D0-396C-4937-95A3-F0AE7ACD0E15")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSwatchClient = interface
Public Interface IVsSwatchClient
Attributes

Remarks

You define swatches in the BUTTONS section of a package's CTC file using the type SWATCH.

Methods

GetCellTooltip(Int32, Int32, String)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

GetEnabledCount(Int32)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

GetMetrics(VSSWATCHMETRICS[])

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

GetSelection(Int32, Int32)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

RealizePalette(IntPtr, IntPtr)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

RenderCell(VSSWATCHRENDER[], Int32)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

SelectCell(Int32, Int32)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

SelectionUpdate(Int32, Int32)

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

Applies to