IVsTextSelectionAction.GetDestination Method
Gets the destination of the text selection.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Function GetDestination ( _
<OutAttribute> pSelState As SELECTIONSTATE() _
) As Integer
int GetDestination(
SELECTIONSTATE[] pSelState
)
int GetDestination(
[OutAttribute] array<SELECTIONSTATE>^ pSelState
)
abstract GetDestination :
pSelState:SELECTIONSTATE[] byref -> int
function GetDestination(
pSelState : SELECTIONSTATE[]
) : int
Parameters
- pSelState
Type: array<Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[]
[out] Line and column of the destination of text selection. Values are in the SELECTIONSTATE struct.
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 textmgr.idl:
HRESULT IVsTextSelectionAction::GetDestination(
[out] SELECTIONSTATE *pSelState
);
.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.