Sage Modeling and Simulation Library

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

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

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

Syntax


public 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. Can return null if this is not supported.