Sage Modeling and Simulation Library

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

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

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

Syntax


IPort AddPort(
	string channelTypeName,
	Guid guid
)

Parameters

channelTypeName
Type: String
The channel - usually "Input" or "Output", sometimes "Control", "Kanban", etc.
guid
Type: Guid
The GUID to be assigned to the new port.

Return Value

The newly-created port.