Click or drag to resize

DiagramElementAddOutput Method

To add an outgoing connection.

Namespace:  StockSharp.Xaml.Diagram
Assembly:  StockSharp.Xaml.Diagram (in StockSharp.Xaml.Diagram.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected DiagramSocket AddOutput(
	string uniqueKey,
	string name,
	DiagramSocketType type,
	int linkableMax = 2147483647,
	int index = 2147483647,
	string socketId = null
)

Parameters

uniqueKey
Type: SystemString
The unique key.
name
Type: SystemString
The connection name.
type
Type: StockSharp.Xaml.DiagramDiagramSocketType
Connection type.
linkableMax (Optional)
Type: SystemInt32
The maximum number of connections.
index (Optional)
Type: SystemInt32
Index in sockets list.
socketId (Optional)
Type: SystemString
The connection identifier.

Return Value

Type: DiagramSocket
Connection.
See Also