IEnumConnections 介面

定義

警告

此 API 現已淘汰。

管理 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)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IEnumConnections
type IEnumConnections = interface
Public Interface IEnumConnections
屬性

備註

針對新的開發,請使用 IEnumConnectionsFor new development, use IEnumConnections.

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 在大多數情況下,這些函式和物件會複製在 .NET Framework.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

方法

Clone(IEnumConnections)

建立新的列舉值,其包含與目前列舉值相同的列舉型別狀態。Creates a new enumerator that contains the same enumeration state as the current one.

Next(Int32, CONNECTDATA[], Int32)

擷取列舉型別序列中指定的項目數目。Retrieves a specified number of items in the enumeration sequence.

Reset()

將列舉型別序列重設到開頭。Resets the enumeration sequence to the start.

Skip(Int32)

略過列舉序列中指定的項目數目。Skips a specified number of items in the enumeration sequence.

適用於