VCFileConfiguration.OutputUpToDate Property

Definition

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

public:
 property bool OutputUpToDate { bool get(); };
public:
 property bool OutputUpToDate { bool get(); };
[System.Runtime.InteropServices.DispId(517)]
public bool OutputUpToDate { [System.Runtime.InteropServices.DispId(517)] get; }
[<System.Runtime.InteropServices.DispId(517)>]
[<get: System.Runtime.InteropServices.DispId(517)>]
member this.OutputUpToDate : bool
Public ReadOnly Property OutputUpToDate As Boolean

Property Value

true if the output is up to date; otherwise, false.

Attributes

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  

Remarks

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

Applies to