RC-WinTrans Object Model Help |
ProjectFile.Update |
Updates the project file for the active target language if changes have been made to the source file.
Syntax: |
Update( ProtocolFile As Variant, DeletedItems As Variant, NewItems As Variant, ChangedItems As Variant ) As Boolean |
Return: | Boolean "True" if the update has been successful, otherwise "False." |
Parameters: |
ProtocolFile Name of the corresponding protocol file to be returned. DeletedItems Number of deleted items to be returned. NewItems Number of new items to be returned. ChangedItems Number of changed items to be returned.
|
Example: | Dim ProjFile As ProjectFile Dim RetVal As Boolean Dim ProtocolFile As Variant Dim DeletedItems As Variant Dim NewItems As Variant Dim ChangedItems As Variant Set ProjFile = Application.ActiveProjectFile RetVal = ProjFile.Update( ProtocolFile, DeletedItems, NewItems, ChangedItems ) If Application.Errors.Count > 0 Then MsgBox ( Application.Errors.LastError ) End If |
See also: