IVsTextSelectionAction.GetOrigin Method

Sets the selection state for this action.

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

Syntax

'Déclaration
Function GetOrigin ( _
    <OutAttribute> pSelState As SELECTIONSTATE() _
) As Integer
'Utilisation
Dim instance As IVsTextSelectionAction
Dim pSelState As SELECTIONSTATE()
Dim returnValue As Integer

returnValue = instance.GetOrigin(pSelState)
int GetOrigin(
    SELECTIONSTATE[] pSelState
)
int GetOrigin(
    [OutAttribute] array<SELECTIONSTATE>^ pSelState
)
abstract GetOrigin : 
        pSelState:SELECTIONSTATE[] byref -> int 
function GetOrigin(
    pSelState : SELECTIONSTATE[]
) : int

Parameters

Return Value

Type: System.Int32
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);

.NET Framework Security

See Also

Reference

IVsTextSelectionAction Interface

IVsTextSelectionAction Members

Microsoft.VisualStudio.TextManager.Interop Namespace