Method SetPortValue
SetPortValue<T>(PortDescriptor, T)
Set the default value of a port in the graph
Declaration
public static bool SetPortValue<T>(PortDescriptor portDesc, T value)
Parameters
Type | Name | Description |
---|---|---|
PortDescriptor | portDesc | The port to change default value |
T | value | The value to set |
Returns
Type | Description |
---|---|
bool | Returns true if successful |
Type Parameters
Name | Description |
---|---|
T |