Right, DataMode is for XML writers.
The link in question should be automatic (thanks to the SetProperties call) and your initial code seems correct.
Right, DataMode is for XML writers.
The link in question should be automatic (thanks to the SetProperties call) and your initial code seems correct.