Share via


IEnumConnections 介面

定義

警告

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

管理 IEnumConnections 介面的定義。

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
[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
[<System.Runtime.InteropServices.Guid("B196B287-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IEnumConnections = interface
[<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")>]
type IEnumConnections = interface
Public Interface IEnumConnections
屬性

備註

針對新的開發,請使用 IEnumConnections

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。 在大多數情況下,這些函式和物件會複製在 .NET Framework 其他命名空間中可以找到的功能。 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework 實作有顯著差異時,才會需要這些函式和物件。

方法

Clone(IEnumConnections)
已淘汰.

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

Next(Int32, CONNECTDATA[], Int32)
已淘汰.

擷取列舉型別序列中指定的項目數目。

Reset()
已淘汰.

將列舉型別序列重設到開頭。

Skip(Int32)
已淘汰.

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

適用於