Partilhar via


Método IVsTextMarkerClient.OnAfterMarkerChange

Indica que a posição do marcador foi alterada.

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

Sintaxe

'Declaração
Function OnAfterMarkerChange ( _
    pMarker As IVsTextMarker _
) As Integer
int OnAfterMarkerChange(
    IVsTextMarker pMarker
)
int OnAfterMarkerChange(
    [InAttribute] IVsTextMarker^ pMarker
)
abstract OnAfterMarkerChange : 
        pMarker:IVsTextMarker -> int
function OnAfterMarkerChange(
    pMarker : IVsTextMarker
) : 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 IVsTextMarkerClient::OnAfterMarkerChange(
   [in] IVsTextMarker* pMarker
);

Esse método é chamado quando o marcador se move em resposta ao texto que está sendo inserido na frente do marcador. Use esta notificação para modificar a lista de tarefas e assim por diante.

Segurança do .NET Framework

Consulte também

Referência

IVsTextMarkerClient Interface

Namespace Microsoft.VisualStudio.TextManager.Interop