Synchronizing External Classes

You can synchronize an external class with its resource, as specified by the SynchronizeFile property when the SynchronizeState property is set to NeedsSync. If you change the properties of an external class, such as SourceName, ViewName, ViewType, Length, Primitive, and Decimal, the SynchronizeState property is set to NeedsSync. The SynchronizeState property is also set to NeedsSync if you add or remove persistent members in an external class or change the member properties as mentioned earlier. In addition, modifying the resource file also changes the value of the SynchronizeState property to NeedsSync.

To synchronize an external class, perform the following:

  1. Update the version of the Resource in the project directory.

  2. Perform any one of the following:

    • Select Synchronize on the resource file in the Solution Explorer view.

      This synchronizes all the external classes that are associated with the selected resource file.

    • Select Synchronize on the external class.

    • Select Synchronize on the owner of the external class.

    This recursively synchronizes all the external classes within the namespace.

The value of the SynchronizeState class property changes to InSync after completion.