 | IPortsGetByIndex Method |
Returns a port with the given index. If no port is found, ArgumentException is thrown.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxIPort GetByIndex(
int index
)
Function GetByIndex (
index As Integer
) As IPort
Dim instance As IPorts
Dim index As Integer
Dim returnValue As IPort
returnValue = instance.GetByIndex(index)
Parameters
- index
- Type: SystemInt32
Port index in the repository.
Return Value
Type:
IPortReference to the port.
See Also