Partilhar via


Método IVsUserDataEvents.OnUserDataChange

Notifica o cliente das alterações nos dados do usuário.

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

Sintaxe

'Declaração
Sub OnUserDataChange ( _
    ByRef riidKey As Guid, _
    vtNewValue As Object _
)
void OnUserDataChange(
    ref Guid riidKey,
    Object vtNewValue
)
void OnUserDataChange(
    [InAttribute] Guid% riidKey, 
    [InAttribute] Object^ vtNewValue
)
abstract OnUserDataChange : 
        riidKey:Guid byref * 
        vtNewValue:Object -> unit
function OnUserDataChange(
    riidKey : Guid, 
    vtNewValue : Object
)

Parâmetros

  • riidKey
    Tipo: Guid%

    [in] Identificador exclusivo dos dados que foram alterados.

  • vtNewValue
    Tipo: Object

    [in] Novo valor. Se um cliente quiser manter o valor, eles devem fazer uma cópia dessa variante.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsUserDataEvents::OnUserDataChange(
   [in] REFGUID riidKey,
   [in] VARIANT vtNewValue
);

Segurança do .NET Framework

Consulte também

Referência

IVsUserDataEvents Interface

Namespace Microsoft.VisualStudio.TextManager.Interop