IEnumVARIANT 介面

定義

管理介面定義 IEnumVARIANT

public interface class IEnumVARIANT
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumVARIANT
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00020404-0000-0000-C000-000000000046")]
public interface IEnumVARIANT
public interface IEnumVARIANT
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IEnumVARIANT = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00020404-0000-0000-C000-000000000046")>]
type IEnumVARIANT = interface
type IEnumVARIANT = interface
Public Interface IEnumVARIANT
屬性

備註

欲了解更多資訊,請參閱 IEnumVARIANT 介面

當原生程式碼中的 COM 方法回傳 HRESULTS 時,公共語言執行時會拋出例外。 欲了解更多資訊,請參閱 「如何映射 HRESULTS 與例外」。

方法

名稱 Description
Clone()

建立新的列舉值,其中包含與目前列舉狀態相同的列舉狀態。

Next(Int32, Object[], IntPtr)

檢索列舉序列中指定數量的項目。

Reset()

將列舉序列重設為開頭。

Skip(Int32)

跳過列舉序列中指定數量的項目。

適用於