IAbsoluteDirectoryPath[] GetVisualStudioInstallPaths()
Return Value
For example it can return a list of path like these ones, depending on the Visual Studio 2017 and upper instances on the current machine.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise