共用方式為


IEnumComponents Interface

Definition

Enumerates the components in a component picker.

public interface class IEnumComponents
public interface class IEnumComponents
__interface IEnumComponents
[System.Runtime.InteropServices.Guid("9A04B730-656C-11D3-85FC-00C04F6123B3")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IEnumComponents
[System.Runtime.InteropServices.Guid("9A04B730-656C-11D3-85FC-00C04F6123B3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumComponents
[<System.Runtime.InteropServices.Guid("9A04B730-656C-11D3-85FC-00C04F6123B3")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IEnumComponents = interface
[<System.Runtime.InteropServices.Guid("9A04B730-656C-11D3-85FC-00C04F6123B3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IEnumComponents = interface
Public Interface IEnumComponents
Attributes

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.

Methods

Clone(IEnumComponents)

Clones the current enumeration component.

Next(UInt32, VSCOMPONENTSELECTORDATA[], UInt32)

Retrieves a specified number of items in an enumeration sequence.

Reset()

Resets an enumeration sequence to the beginning.

Skip(UInt32)

Skips a specified number of components in an enumeration sequence.

Applies to