Class PortExtensions
Inheritance
PortExtensions
Syntax
public static class PortExtensions
Methods
GetDirection(IPort)
Declaration
public static PortDirection GetDirection(this IPort port)
Parameters
Type |
Name |
Description |
IPort |
port |
|
Returns
GetLastIndex(IPort)
Declaration
public static uint GetLastIndex(this IPort port)
Parameters
Type |
Name |
Description |
IPort |
port |
|
Returns
GetPortType(IPort)
Declaration
public static PortType GetPortType(this IPort port)
Parameters
Type |
Name |
Description |
IPort |
port |
|
Returns
GetSubPortIndex(IMultiPort, IPort)
Declaration
public static uint GetSubPortIndex(this IMultiPort port, IPort subPort)
Parameters
Returns
IsData(IPort)
Declaration
public static bool IsData(this IPort port)
Parameters
Type |
Name |
Description |
IPort |
port |
|
Returns
IsTrigger(IPort)
Declaration
public static bool IsTrigger(this IPort port)
Parameters
Type |
Name |
Description |
IPort |
port |
|
Returns
SelectInputDataPort(IInputDataPort, UInt32)
Declaration
public static InputDataPort SelectInputDataPort(this IInputDataPort port, uint index)
Parameters
Returns
SelectOutputDataPort(IOutputDataPort, UInt32)
Declaration
public static OutputDataPort SelectOutputDataPort(this IOutputDataPort port, uint index)
Parameters
Returns
SelectRawPort(IPort, UInt32)
Declaration
public static Port SelectRawPort(this IPort port, uint index)
Parameters
Returns
SelectRawPortName(IPort, String, UInt32)
Declaration
public static string SelectRawPortName(this IPort port, string portModelUniqueId, uint index)
Parameters
Returns