Compartir a través de


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

'Declaración
<InterfaceTypeAttribute()> _
<GuidAttribute("3931DEF1-8200-481F-A6C2-A4740DE84658")> _
Public Interface IVsProvideUserContext2
'Uso
Dim instance As 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

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