IVsSwatchClient.SelectCell Method

Tells the client that swatch (x, y) was selected.

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

Syntax

'宣言
Function SelectCell ( _
    x As Integer, _
    y As Integer _
) As Integer
'使用
Dim instance As IVsSwatchClient
Dim x As Integer
Dim y As Integer
Dim returnValue As Integer

returnValue = instance.SelectCell(x, y)
int SelectCell(
    int x,
    int y
)
int SelectCell(
    [InAttribute] int x, 
    [InAttribute] int y
)
function SelectCell(
    x : int, 
    y : int
) : int

Parameters

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 IVsSwatchClient::SelectCell(
   [in] int x, [in] int y
);

Permissions

See Also

Reference

IVsSwatchClient Interface

IVsSwatchClient Members

Microsoft.VisualStudio.Shell.Interop Namespace