次の方法で共有


IVsUserDataEvents.OnUserDataChange(Guid, Object) Method

Definition

Notifies the client of changes to the user data.

public:
 void OnUserDataChange(Guid % riidKey, System::Object ^ vtNewValue);
public void OnUserDataChange (ref Guid riidKey, object vtNewValue);
abstract member OnUserDataChange : Guid * obj -> unit
Public Sub OnUserDataChange (ByRef riidKey As Guid, vtNewValue As Object)

Parameters

riidKey
Guid

[in] Unique identifier of the data that has changed.

vtNewValue
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  
);  

Applies to