VCConfiguration.UpToDate Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob der Buildstatus der aktuellen Konfiguration auf dem neuesten Stand ist.

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

Eigenschaftswert

Boolean

true , wenn der Buildstatus der aktuellen Konfiguration auf dem neuesten Stand ist. andernfalls false .

Attribute

Beispiele

Weitere Informationen zum Kompilieren und Ausführen dieses Beispiels finden Sie unter Gewusst wie: Kompilieren von Beispiel Code für die Erweiterbarkeit von Projekt Modellen .

Im folgenden Beispielcode wird die- UpToDate Eigenschaft in der integrierten Entwicklungsumgebung (Integrated Development Environment, IDE) verwendet:

' add reference to Microsoft.VisualStudio.VCProjectEngine.  
Imports EnvDTE  
Imports Microsoft.VisualStudio.VCProjectEngine  

Public Module Module1  
    Sub Test()  
        Dim Test As Boolean  
        Dim prj As VCProject  
        Dim cfgs As IVCCollection  
        Dim cfg As VCConfiguration  
        Dim MyDbg As VCDebugSettings  
        prj = DTE.Solution.Projects.Item(1).Object  
        cfgs = prj.Configurations  
        cfg = cfgs.Item(1)  
        Test = cfg.UpToDate  
    End Sub  
End Module  

Gilt für