VCCodeModel.SynchronizeFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures that the FileCodeModel property on a project file is not null.
public:
void SynchronizeFiles();
public:
void SynchronizeFiles();
void SynchronizeFiles();
[System.Runtime.InteropServices.DispId(608)]
public void SynchronizeFiles ();
[<System.Runtime.InteropServices.DispId(608)>]
abstract member SynchronizeFiles : unit -> unit
Public Sub SynchronizeFiles ()
- Attributes
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
.