.. highlightlang:: us .. index:: DocSetUserData .. _docsetuserdata: DocSetUserData ============== .. us.tag DocSetUserData NOTREADYENGLISH DocSet New5200 With :ref:`DocSetUserData` a UniScript object can be linked to a document. .. function:: bool = DocSetUserData(hDoc, objUserData) .. us.return **Return Value** Is TRUE (1), if the function was successful and otherwise FALSE (0). .. us.params **Parameters** .. uparam:: hDoc Identifies the document. .. uparam:: objUserData *objUserData* is the UniScript object, see :ref:`obj_create`. .. us.example **Example** .. include:: ../include/test_DocSetUserData.ic .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.20 - New. .. seealso:: :ref:`Overview-Documents`, :ref:`overview-uniscript-objects`, :ref:`DocGetUserData` :sub:`id-699381`