Edit

Kongsi melalui


IEnumConnections Interface

Definition

Caution

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

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
[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
Attributes

Remarks

For new development, use IEnumConnections.

Note

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. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Methods

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.

Applies to