Share via


VCFileConfiguration.OutputUpToDate, propriété

Obtient une valeur qui indique si la sortie du fichier spécifié est à jour.

Espace de noms :  Microsoft.VisualStudio.VCProjectEngine
Assembly :  Microsoft.VisualStudio.VCProjectEngine (dans Microsoft.VisualStudio.VCProjectEngine.dll)

Syntaxe

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

Valeur de propriété

Type : Boolean
true si la sortie est à jour ; sinon, false.

Notes

Consultez Comment : compiler l'exemple de code pour l'extensibilité du modèle de projet pour savoir comment compiler et exécuter cet exemple.

Exemples

' 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

Sécurité .NET Framework

Voir aussi

Référence

VCFileConfiguration Interface

Microsoft.VisualStudio.VCProjectEngine, espace de noms