次の方法で共有


IVsUserDataEvents.OnUserDataChange Method

Notifies the client of changes to the user data.

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

Syntax

'宣言
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
)

Parameters

  • riidKey
    Type: System.Guid%
    [in] Unique identifier of the data that has changed.
  • vtNewValue
    Type: System.Object
    [in] New value. If a client wants to hold on to the value, they must make a copy of this variant.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsUserDataEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace