# Connect

## Connect(NodeEditor, SerializedProperty, PortFieldAssignor)

public static bool Connect(NodeEditor nodeEditor, SerializedProperty property, PortFieldAssignor portFieldAssignor) ;

### Description

see cref="SwitchData{TThen}"/> to connect to a port

### Parameters

Parameter Name | Description
--- | ---
nodeEditor | NodeEditor
property | SerializedProperty
portFieldAssignor | PortFieldAssignor

### Returns

Returns true if the connection was successful, false otherwise.