Table of Contents

Method IsEmpty

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

IsEmpty(int)

Determines whether the parameter with the specified ID has been initialized.

bool IsEmpty(int iID)

Parameters

iID int

The ID of the parameter.

Returns

bool

true if the value has not been initialized; otherwise, false.

Examples

int isEmpty = protocol.IsEmpty(100);

Remarks

  • This a wrapper method for a NotifyProtocol type 60 NT_GET_DATA call.
  • This call is intended to be used on standalone parameters.
  • In case the protocol does not define a parameter with the specified ID, the following message is logged: NT_GET_DATA for [parameterID] failed. 0x80040239.
  • In case a table ID or a column ID is provided, the following message is logged: NT_GET_DATA for [tableID] failed. 0x80040239.
  • In case the parameter has a fixed length, IsEmpty will always return false.