clone method

StringDict clone()

Creates a copy of the StringDict object.

return The newly created StringDict object. throws DocumentException An error has occurred during Document Library execution.

Implementation

StringDict clone() {
  StringDict clone = StringDict();
  var err = documentSDK.id3DocumentStringDict_CopyTo(_pHandle.value, clone.handle);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
  return clone;
}