IVsSwatchClient.GetSelection Method
This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetSelection ( _
<OutAttribute> ByRef pxCur As Integer, _
<OutAttribute> ByRef pyCur As Integer _
) As Integer
int GetSelection(
out int pxCur,
out int pyCur
)
int GetSelection(
[InAttribute] [OutAttribute] int% pxCur,
[InAttribute] [OutAttribute] int% pyCur
)
abstract GetSelection :
pxCur:int byref *
pyCur:int byref -> int
function GetSelection(
pxCur : int,
pyCur : int
) : int
Parameters
pxCur
Type: Int32%[In, Out] A pointer to an integer value.
pyCur
Type: Int32%[In, Out] A pointer to an integer value.
Return Value
Type: 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::GetSelection(
[in, out] int *pxCur,
[in, out] int *pyCur
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.