I am maintaining a legacy add-in (written in C#) for my organization that currently works by querying a database table for a layer name (by calling an API), and then imports the layer file from a network drive into ArcMap. The layer files are submitted to my office in .lyr format by users in other offices.
We are migrating to ArcGIS Pro 2.x soon, and will need to use .lyrx files. We have the add-in migrated to ArcGIS Pro SDK and the same library of .lyr files is referenced by both the ArcMap add-in and the ArcGIS Pro add-in, which works because .lyr files can be loaded into Pro.
However, some users still need ArcMap, and the ArcMap add-in cannot currently reference .lyrx files. This is a problem because .lyrx files are not backwards-compatible with ArcMap, and the users submitting layer files will not (theoretically) have access to ArcMap so they can't create .lyr files.
tl;dr: I need an ArcObjects add-in to be able to pull .lyrx files into ArcMap and am unaware of a way to do that.