IVsSwatchClient.SelectionUpdate Method

Notifies the client of the current/updated selection.

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

Syntax

'Declaration
Function SelectionUpdate ( _
    <OutAttribute> ByRef pxCur As Integer, _
    <OutAttribute> ByRef pyCur As Integer _
) As Integer
'Usage
Dim instance As IVsSwatchClient 
Dim pxCur As Integer 
Dim pyCur As Integer 
Dim returnValue As Integer 

returnValue = instance.SelectionUpdate(pxCur, _
    pyCur)
int SelectionUpdate(
    out int pxCur,
    out int pyCur
)
int SelectionUpdate(
    [InAttribute] [OutAttribute] int% pxCur, 
    [InAttribute] [OutAttribute] int% pyCur
)
function SelectionUpdate(
    pxCur : int, 
    pyCur : int
) : int

Parameters

  • pxCur
    Type: System.Int32%

    [In, Out] A pointer to an integer value.

  • pyCur
    Type: System.Int32%

    [In, Out] A pointer to an integer value.

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::SelectionUpdate(
   [in, out] int *pxCur, 
   [in, out] int *pyCur
);

.NET Framework Security

See Also

Reference

IVsSwatchClient Interface

IVsSwatchClient Members

Microsoft.VisualStudio.Shell.Interop Namespace