Thanks Howard. One last question...If you wanted to get the value of a custom optional object property within a class, how would you go about getting that? Example:
code:
$ecode = $item.abc-emplCode  

The problem here is the dash in abc-emplCode. And $item.'abc-emplCode' returns nothing. Any suggestions?