Partilhar via


IVsSwatchClient.GetSelection(Int32, Int32) Method

Definition

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

public:
 int GetSelection([Runtime::InteropServices::Out] int % pxCur, [Runtime::InteropServices::Out] int % pyCur);
int GetSelection([Runtime::InteropServices::Out] int & pxCur, [Runtime::InteropServices::Out] int & pyCur);
public int GetSelection (out int pxCur, out int pyCur);
abstract member GetSelection : int * int -> int
Public Function GetSelection (ByRef pxCur As Integer, ByRef pyCur As Integer) As Integer

Parameters

pxCur
Int32

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

pyCur
Int32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSwatchClient::GetSelection(  
   [in, out] int *pxCur,   
   [in, out] int *pyCur  
);  

Applies to