Freigeben über


IVsProvideUserContext2 Interface

Enables an object to provide a user context and a priority. Extends, but does not inherit from, IVsProvideUserContext.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")> _
Public Interface IVsProvideUserContext2
[InterfaceTypeAttribute()]
[GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")]
public interface IVsProvideUserContext2
[InterfaceTypeAttribute()]
[GuidAttribute(L"3931DEF1-8200-481F-A6C2-A4740DE84658")]
public interface class IVsProvideUserContext2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")>]
type IVsProvideUserContext2 =  interface end
public interface IVsProvideUserContext2

The IVsProvideUserContext2 type exposes the following members.

Methods

  Name Description
Public method GetUserContextEx Gets a user context and priority for an object.

Top

Remarks

When a selection value changes, the environment updates the application context with information from this interface. The environment also queries for IVsProvideUserContext and IVsUserContext as part of the update.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace