Condividi tramite


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

<GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProvideUserContext2

Dim instance As IVsProvideUserContext2
[GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")]
[InterfaceTypeAttribute()]
public interface IVsProvideUserContext2
[GuidAttribute(L"3931DEF1-8200-481F-A6C2-A4740DE84658")]
[InterfaceTypeAttribute()]
public interface class IVsProvideUserContext2
public interface IVsProvideUserContext2

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

IVsProvideUserContext2 Members

Microsoft.VisualStudio.Shell.Interop Namespace