Partager via


IEnumComponents Interface

Enumerates the components in a component picker.

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

Syntax

'Declaration
<GuidAttribute("9A04B730-656C-11D3-85FC-00C04F6123B3")> _
<InterfaceTypeAttribute()> _
Public Interface IEnumComponents
[GuidAttribute("9A04B730-656C-11D3-85FC-00C04F6123B3")]
[InterfaceTypeAttribute()]
public interface IEnumComponents
[GuidAttribute(L"9A04B730-656C-11D3-85FC-00C04F6123B3")]
[InterfaceTypeAttribute()]
public interface class IEnumComponents
[<GuidAttribute("9A04B730-656C-11D3-85FC-00C04F6123B3")>]
[<InterfaceTypeAttribute()>]
type IEnumComponents =  interface end
public interface IEnumComponents

The IEnumComponents type exposes the following members.

Methods

  Name Description
Public method Clone Clones the current enumeration component.
Public method Next Retrieves a specified number of items in an enumeration sequence.
Public method Reset Resets an enumeration sequence to the beginning.
Public method Skip Skips a specified number of components in an enumeration sequence.

Top

Remarks

An enumerator is a COM object that provides an interface for iterating through items in a collection. Use this interface to enumerate the components in a component picker, such as the Add Reference dialog box.

Notes to Implementers

IEnumComponents interface enumerates components to populate your own custom tab in a component picker.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace