ISharePointProject.Synchronize Method
Applies any pending add item events to the SharePoint project object model to synchronize it with the DTE object model.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub Synchronize
void Synchronize()
Remarks
This method is typically called in a project or item template wizard before accessing the SharePoint project object model. Otherwise, the SharePoint project object model will be updated when the template wizard is finished.
.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.