共用方式為


IVsUserContextItemCollection Interface

Definition

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

public interface class IVsUserContextItemCollection
public interface class IVsUserContextItemCollection
__interface IVsUserContextItemCollection
[System.Runtime.InteropServices.Guid("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUserContextItemCollection
[System.Runtime.InteropServices.Guid("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUserContextItemCollection
[<System.Runtime.InteropServices.Guid("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUserContextItemCollection = interface
[<System.Runtime.InteropServices.Guid("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUserContextItemCollection = interface
Public Interface IVsUserContextItemCollection
Attributes

Remarks

Returned by the GetContextItems method of the IVsMonitorUserContext interface.

Methods

_NewEnum(Object)

Returns an enumerator to use for going through the collection.

Count(Int32)

Returns the number of items in the collection.

Item(Object, IVsUserContextItem)

Retrieves an item from the collection according to a VARIANT index.

ItemAt(Int32, IVsUserContextItem)

Retrieves an item from the collection by integer index.

Applies to