VCFileConfiguration::OutputUpToDate Property
Visual Studio 2015
Gets a value indicating whether the output of the specified file is up to date.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.
' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a ' Visual C++ project loaded before running this example. Imports EnvDTE Imports Microsoft.VisualStudio.VCProjectEngine Public Module Module1 Sub Test() Dim file, file2 As VCFile Dim col As IVCCollection Dim fileconfig As VCFileConfiguration Dim prj As VCProject prj = DTE.Solution.Projects.Item(1).Object col = prj.Files file = col.Item(1) col = file.FileConfigurations fileconfig = col.Item("Debug|Win32") MsgBox("Output file up-to-date? " & _ fileconfig.OutputUpToDate.ToString) End Sub End Module
Show: