IVsTextSelectionAction.GetDestination(SELECTIONSTATE[]) Method

Definition

Gets the destination of the text selection.

public:
 int GetDestination(cli::array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
public:
 int GetDestination(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
int GetDestination(std::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> const & pSelState);
public int GetDestination (Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] pSelState);
abstract member GetDestination : Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] -> int
Public Function GetDestination (pSelState As SELECTIONSTATE()) As Integer

Parameters

pSelState
SELECTIONSTATE[]

[out] Line and column of the destination of text selection. Values are in the SELECTIONSTATE struct.

Returns

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  
);  

Applies to