VCCodeModel.SynchronizeFiles Method
Ensures that the FileCodeModel property on a project file is not null.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaración
Sub SynchronizeFiles
void SynchronizeFiles()
void SynchronizeFiles()
abstract SynchronizeFiles : unit -> unit
function SynchronizeFiles()
Remarks
If VCCodeModel is not in sync with source code, it is not safe to query for a VCFileCodeModel for a project file because the caller will get a null reference if project files are not yet registered in Browsing database.
.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.