/** * @deprecated Please call Encode() on this property's DataType directly. * @param mixed $value * @return string */ public function Encode($value) { if ($this->DataType == null) { return $value; } return $this->DataType->Encode($value); }