setToPortIdForLinkData method

void setToPortIdForLinkData(
  1. Object linkdata,
  2. String portname
)

Change the information that the given link data uses to identify the particular "port" that the link is going to. @param {ObjectData} linkdata a JavaScript object represented by a link. @param {string} portname This may be the empty string if the link should no longer be associated with any particular "port". @see #linkToPortIdProperty @see #getToPortIdForLinkData

Implementation

void setToPortIdForLinkData(
  _i2.Object linkdata,
  _i2.String portname,
) {
  _i4.callMethod(
    this,
    'setToPortIdForLinkData',
    [
      linkdata,
      portname,
    ],
  );
}