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
- 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.
See Also
Reference
IVsDataViewUserContextProvider Interface
IVsDataViewUserContextProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace