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
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.