Compartir a través de


IVsUserContextItemCollection Interface

Maintains an indexed collection of context items (IVsUserContextItem) for use in context-sensitive help.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")> _
Public Interface IVsUserContextItemCollection
[InterfaceTypeAttribute()]
[GuidAttribute("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")]
public interface IVsUserContextItemCollection
[InterfaceTypeAttribute()]
[GuidAttribute(L"2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")]
public interface class IVsUserContextItemCollection
[<InterfaceTypeAttribute()>]
[<GuidAttribute("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")>]
type IVsUserContextItemCollection =  interface end
public interface IVsUserContextItemCollection

The IVsUserContextItemCollection type exposes the following members.

Methods

  Name Description
Public method _NewEnum Returns an enumerator to use for going through the collection.
Public method Count Returns the number of items in the collection.
Public method Item Retrieves an item from the collection according to a VARIANT index.
Public method ItemAt Retrieves an item from the collection by integer index.

Top

Remarks

Returned by the GetContextItems method of the IVsMonitorUserContext interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace