IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) IVsTextSelectionAction.GetOrigin(SELECTIONSTATE[]) Method

Definition

Gets the origin of the text selection.

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

[out] Line and column of the origin 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::GetOrigin(  
   [out] SELECTIONSTATE *pSelState);  

Applies to