API Documentation -> NtTimeChartControl -> DeleteDataObject

# NtTimeChartControl.DeleteDataObject Method

The NtTimeChartControl can contain many data objects. Every data object is an instance of NtDataObject (or derivates). For this reason, every data object is identified by a unique id. Two data objects must not have the same id.
Every data object can reside in the NtTimeChartControl only once.
Call this method to remove a data object from the NtTimeChartControl. Identify the data object by its id.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public void | DeleteDataObject ( ulong objId ) | Deletes the data object identified by objId from the NtTimeChartControl.

Return value:

void

Parameters:

ulong objId
The object id of the NtDataObject you want to remove from the Time Chart.

Remarks:

When deleting more that one objects, better call DeleteDataObjects() than calling this method for each of the objects.

See also:

DeleteDataObjects()
InsertDataObject()
InsertDataObjects()

Top API Documentation -> NtTimeChartControl -> DeleteDataObject © 2016 Bassaly