IEnumConnections IEnumConnections IEnumConnections IEnumConnections Interface

定义

管理 IEnumConnections 接口的定义。Manages the definition of the IEnumConnections interface.

public interface class IEnumConnections
[System.Runtime.InteropServices.Guid("B196B287-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumConnections
type IEnumConnections = interface
Public Interface IEnumConnections
属性

注解

有关详细信息IEnumConnections接口,请参阅 MSDN 库。For more information about the IEnumConnections interface, see the MSDN Library.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

方法

Clone(IEnumConnections) Clone(IEnumConnections) Clone(IEnumConnections) Clone(IEnumConnections)

创建与当前枚举数包含相同枚举状态的一个新枚举数。Creates a new enumerator that contains the same enumeration state as the current one.

Next(Int32, CONNECTDATA[], IntPtr) Next(Int32, CONNECTDATA[], IntPtr) Next(Int32, CONNECTDATA[], IntPtr) Next(Int32, CONNECTDATA[], IntPtr)

检索枚举序列中指定数目的项。Retrieves a specified number of items in the enumeration sequence.

Reset() Reset() Reset() Reset()

将枚举序列重置到开头。Resets the enumeration sequence to the beginning.

Skip(Int32) Skip(Int32) Skip(Int32) Skip(Int32)

跳过枚举序列中指定数目的项。Skips a specified number of items in the enumeration sequence.

适用于