共用方式為


WindowsCollectionClass.GetEnumerator 方法

此類型為 coclass 或 coclass 成員的包裝函式,屬性 COM 互通性中的必要項。此類別不得用於程式碼中。

**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)

語法

'宣告
<DispIdAttribute(-4)> _
<TypeLibFuncAttribute(1)> _
Public Overridable Function GetEnumerator As IEnumerator Implements Windows.GetEnumerator
'用途
Dim instance As WindowsCollectionClass
Dim returnValue As IEnumerator

returnValue = CType(instance, Windows).GetEnumerator
[DispIdAttribute(-4)] 
[TypeLibFuncAttribute(1)] 
public virtual IEnumerator Windows.GetEnumerator ()

請參閱

參考

WindowsCollectionClass 類別
WindowsCollectionClass 成員
Microsoft.Office.Interop.InfoPath 命名空間