Share via


IVsDataViewUserContextProvider.UserContextChanged Event

Occurs when the user context changes.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Event UserContextChanged As EventHandler(Of DataViewNodeEventArgs)
'Usage
Dim instance As IVsDataViewUserContextProvider 
Dim handler As EventHandler(Of DataViewNodeEventArgs)

AddHandler instance.UserContextChanged, handler
event EventHandler<DataViewNodeEventArgs> UserContextChanged
event EventHandler<DataViewNodeEventArgs^>^ UserContextChanged {
    void add (EventHandler<DataViewNodeEventArgs^>^ value);
    void remove (EventHandler<DataViewNodeEventArgs^>^ value);
}
JScript does not support events.

Remarks

The user context is used if the user starts context Help, so the Help topic can be more tailored to the user's actions.

For example, the user context changes when the user selects a different node in Server Explorer.

.NET Framework Security

See Also

Reference

IVsDataViewUserContextProvider Interface

IVsDataViewUserContextProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace