Partager via


IVsProvideUserContextForObject Interface

Retrieves the user context interface, IVsUserContext for a given object. A user context provides things such as the text for a search or a help keyword.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("F98CCC8A-9C5F-41EB-8421-711C0F1880E6")> _
Public Interface IVsProvideUserContextForObject
[InterfaceTypeAttribute()]
[GuidAttribute("F98CCC8A-9C5F-41EB-8421-711C0F1880E6")]
public interface IVsProvideUserContextForObject
[InterfaceTypeAttribute()]
[GuidAttribute(L"F98CCC8A-9C5F-41EB-8421-711C0F1880E6")]
public interface class IVsProvideUserContextForObject
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F98CCC8A-9C5F-41EB-8421-711C0F1880E6")>]
type IVsProvideUserContextForObject =  interface end
public interface IVsProvideUserContextForObject

The IVsProvideUserContextForObject type exposes the following members.

Methods

  Name Description
Public method GetObjectContext Return the user context (IVsUserContext interface) of an object.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace