Source.OnUserDataChange(Guid, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when user data has been changed in a text buffer.
public:
virtual void OnUserDataChange(Guid % riidKey, System::Object ^ vtNewValue);
public virtual void OnUserDataChange (ref Guid riidKey, object vtNewValue);
abstract member OnUserDataChange : Guid * obj -> unit
override this.OnUserDataChange : Guid * obj -> unit
Public Overridable Sub OnUserDataChange (ByRef riidKey As Guid, vtNewValue As Object)
Parameters
- riidKey
- Guid
The GUID representing the value that was changed.
Implements
Remarks
A text buffer can have a number of user-settable values associated with it. Each value is identified by a unique GUID. Whenever one of these values is changed with a call to the SetData method in the IVsUserData interface, the OnUserDataChange method is called.
The base method does nothing.