IVsTextSelectionAction.GetDestination(SELECTIONSTATE[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);