Example: lr.empty

The following example returns true when the variant value is not null.

if(!ObjectCheck(lr.empty))

lr.output_message("lr.empty is null object");

else

lr.output_message("lr.empty is "+lr.empty.ToString());

 

public bool ObjectCheck(object obj)

{

if(obj==null)

return false;

else

return true;

}