Share via


VCFileConfiguration.OutputUpToDate Property

Gets a value indicating whether the output of the specified file is up to date.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
ReadOnly Property OutputUpToDate As Boolean
'Usage
Dim instance As VCFileConfiguration 
Dim value As Boolean 

value = instance.OutputUpToDate
bool OutputUpToDate { get; }
property bool OutputUpToDate {
    bool get ();
}
function get OutputUpToDate () : boolean

Property Value

Type: System.Boolean
true if the output is up to date; otherwise, false.

Remarks

See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.

Examples

' 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

.NET Framework Security

See Also

Reference

VCFileConfiguration Interface

VCFileConfiguration Members

Microsoft.VisualStudio.VCProjectEngine Namespace