다음을 통해 공유


IVsProvideUserContext2 Interface

Definition

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

public interface class IVsProvideUserContext2
public interface class IVsProvideUserContext2
__interface IVsProvideUserContext2
[System.Runtime.InteropServices.Guid("3931DEF1-8200-481F-A6C2-A4740DE84658")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProvideUserContext2
[<System.Runtime.InteropServices.Guid("3931DEF1-8200-481F-A6C2-A4740DE84658")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProvideUserContext2 = interface
Public Interface IVsProvideUserContext2
Attributes

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.

Methods

GetUserContextEx(IVsUserContext, Int32)

Gets a user context and priority for an object.

Applies to