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
pSelState
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[][out] A linha e coluna da origem da seleção de texto. Os valores estão na SELECTIONSTATE struct.
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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.