Share via


GanttTmpLink::schedJobLink2GanttLinkType Method

Converts a link type from SchedJobLink to GanttLinkType.

Syntax

client server public static GanttLinkType schedJobLink2GanttLinkType(SchedJobLink _schedJobLink, [boolean _allowNoneLink])

Run On

ClientOrServer

Parameters

  • _allowNoneLink
    Type: boolean
    A Boolean value that indicates whether a conversion of SchedJobLink::None link type is allowed; optional.

Return Value

Type: GanttLinkType Enumeration
A GanttLinkType enumeration value that corresponds to the specified SchedJobLink enumeration value.

Exceptions

Exception Condition
Error

The enumeration value is out of range.

Remarks

In the case of SchedJobLink::None, the function returns the value GanttLinkType::FS.

See Also

Reference

GanttTmpLink Table