VCFileConfiguration.OutputUpToDate Property
Gets a value indicating whether the output of the specified file is up to date.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Декларация
ReadOnly Property OutputUpToDate As Boolean
Get
bool OutputUpToDate { get; }
property bool OutputUpToDate {
bool get ();
}
abstract OutputUpToDate : bool
function get OutputUpToDate () : boolean
Property Value
Type: System.Boolean
true if the output is up to date; otherwise, false.
Remarks
See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.