Sage Modeling and Simulation Library

IPortOwner..::..AddPort Method (String)

Adds a port to this object's port set in the specified role or channel.

Namespace:  Highpoint.Sage.ItemBased.Ports
Assembly:  Sage4 (in Sage4.dll)

Syntax


IPort AddPort(
	string channelTypeName
)

Parameters

channelTypeName
Type: String
The channel - usually "Input" or "Output", sometimes "Control", "Kanban", etc.

Return Value

The newly-created port.