Freigeben über


VCFileConfiguration.OutputUpToDate-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Ausgabe der angegebenen Datei auf dem neuesten Stand ist.

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

Syntax

'Declaration
ReadOnly Property OutputUpToDate As Boolean
bool OutputUpToDate { get; }
property bool OutputUpToDate {
    bool get ();
}
abstract OutputUpToDate : bool with get
function get OutputUpToDate () : boolean

Eigenschaftswert

Typ: Boolean
true , wenn die Ausgabe auf dem neuesten Stand ist, andernfalls false.

Hinweise

Informationen zum Kompilieren und Ausführen dieses Beispiels finden Sie unter Gewusst wie: Kompilieren von Beispielcode für die Erweiterbarkeit von Projektmodellen.

Beispiele

' 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-Sicherheit

Siehe auch

Referenz

VCFileConfiguration Schnittstelle

Microsoft.VisualStudio.VCProjectEngine-Namespace