Declaration: TMetaData.Derivative[Layer: integer]: integer;
The array property Derivative gives access to the order of derivative of the specified Layer. If the parameter Layer specifies an invalid layer a value of -1 is returned (on read) or the assignment is ignored (on write).

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.