IVsTextSelectionAction::SetOrigin Method (array<SELECTIONSTATE>^)

 

Sets the origin of the text selection.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int SetOrigin(
	array<SELECTIONSTATE>^ pSelState
)

Parameters

pSelState
Type: array<Microsoft.VisualStudio.TextManager.Interop::SELECTIONSTATE>^

[out] Fills the SELECTIONSTATE struct with the state values of the selected text destination.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextSelectionAction::SetOrigin(
    [in] SELECTIONSTATE *pSelState
);
Return to top
Show: