Partilhar via


Método IVsTextSelectionAction.GetOrigin

Define o estado de seleção para esta ação.

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

Sintaxe

'Declaração
Function GetOrigin ( _
    <OutAttribute> pSelState As SELECTIONSTATE() _
) As Integer
int GetOrigin(
    SELECTIONSTATE[] pSelState
)
int GetOrigin(
    [OutAttribute] array<SELECTIONSTATE>^ pSelState
)
abstract GetOrigin : 
        pSelState:SELECTIONSTATE[] byref -> int
function GetOrigin(
    pSelState : SELECTIONSTATE[]
) : int

Parâmetros

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextSelectionAction::GetOrigin(
   [out] SELECTIONSTATE *pSelState);

Segurança do .NET Framework

Consulte também

Referência

IVsTextSelectionAction Interface

Namespace Microsoft.VisualStudio.TextManager.Interop