Fixed the marshalling of properties in the C++/CLI case.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>