Function MimeAppsListFile.removeAssociation
Explicitly remove desktopId association for mimeType. Delete it from added associations and default applications.
void removeAssociation
(
string mimeType,
string desktopId
) @trusted;
Note
This only changes the object, but not file itself.