Returns true if the object is a valid Item.

syntaxSyntax:
DlxItem.IsValid()

Return Value

Returns true if the object is a valid Item otherwise returns false.

Example

  Copy codeCopy code
if (DlxApp.GetJob().GetProject("prj1").IsValid())
{
  DlxApp.GetJob().GetProject("prj1").SetName("prj2");
}

See also