This documentation is archived and is not being maintained.

OutputUpToDate Property

Visual Studio .NET 2003

Specifies whether the output of the specified file is up-to-date.

[Visual Basic .NET]
Public ReadOnly Property OutputUpToDate() As Boolean
[Visual Basic 6]
Property Get OutputUpToDate() As Boolean
HRESULT __stdcall get_OutputUpToDate(
   /* [out, retval] */ VARIANT_BOOL* retVal
public bool OutputUpToDate {get;}
[JScript .NET]
public function get OutputUpToDate() : Boolean

Return Value

True if the output is up-to-date; false if not.


' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ .NET 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? " & _
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCFileConfiguration Object | VCReferenceConfiguration Object