共用方式為


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

'宣告
<GuidAttribute("9A04B730-656C-11D3-85FC-00C04F6123B3")> _
<InterfaceTypeAttribute()> _
Public Interface IEnumComponents
'用途
Dim instance As 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

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

IEnumComponents Members

Microsoft.VisualStudio.Shell.Interop Namespace