There is no way to get the properties field of the logical devices with the ld ls command. Copy this function from the pd ls command.