IVsTextSelectionAction.SetDestination(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.
Sets the destination of the text selection.
public:
int SetDestination(cli::array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
public:
int SetDestination(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
int SetDestination(std::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> const & pSelState);
public int SetDestination (Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] pSelState);
abstract member SetDestination : Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] -> int
Public Function SetDestination (pSelState As SELECTIONSTATE()) As Integer
Parameters
- pSelState
- SELECTIONSTATE[]
[out] Fills the SELECTIONSTATE struct with the state values of the selected text destination.
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::SetDestination(
[in] SELECTIONSTATE *pSelState
);