I working on an application that will check out, open, rebuild, save, and check in a selection of files. The application works until it encounters a toolbox part outside of the toolbox folder. I'm not sure how many of these I will have to contend with, so for the sake of argument, let's assume that I can't simply avoid them in my selection. Both toolbox and standard parts have the file extension SLDPRT. The only difference in PDM that I can see is that toolbox parts have a file type of "Toolbox Part Document" and standard parts have the file type of "SOLIDWORKS Part Document."
How can I read the File Type column value in the SolidWorks 2018 PDM API using C#?