QDVGantt.WriteItemToGanttDiagram Method
NOTE: This member is now obsolete. Use Qdv.UserApi.IGantt.WriteItemToGanttDiagram instead.
[Obsolete("Use Qdv.UserApi.IGantt.WriteItemToGanttDiagram instead.")]
public string WriteItemToGanttDiagram(
GanttItemInfo Item,
string UniqueIdentifierToExistingItem = "",
ref int ErrorNumber = 0,
ref string ErrorMessage = ""
)
This language is not supported or no code example is available.
Parameters
- Item
- GanttItemInfo
The item to be inserted or updated.
- UniqueIdentifierToExistingItem
- string
If for updating, must provide a unique identifier of the item to be updated. A new item is inserted when left blank.
- ErrorNumber
- int
- ErrorIDs.OK - Operation OK
- ErrorIDs.CannotWriteItemToGanttDiagram - General error, see ErrorMessage
- ErrorIDs.GanttIsReadOnly - Cannot write to Gantt diagam in this context
- ErrorMessage
- string
Optional. The default value is an empty string.
Return Value
stringReturns the unique identifier to newly created task. If for updating, returns the value of UniqueIdentifierToExistingItem.