Freigeben über


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)
event EventHandler<DataViewNodeEventArgs> UserContextChanged
 event EventHandler<DataViewNodeEventArgs^>^ UserContextChanged {
    void add (EventHandler<DataViewNodeEventArgs^>^ value);
    void remove (EventHandler<DataViewNodeEventArgs^>^ value);
}
abstract UserContextChanged : IEvent<EventHandler<DataViewNodeEventArgs>,
    DataViewNodeEventArgs>
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

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace