Click or drag to resize

PFOfficeBindingUtilsSyncFileWithItemData Method

Tries to apply PFItem-Word data synchronization, according to PFFieldFileHolder settings and event interaction (FileBinding). Synchronization can be avoided or forced by using this event.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static void SyncFileWithItemData(
	PFFieldFileHolder fhField,
	PFFile file,
	PFItem_FileEventOrigin origin = PFItem_FileEventOrigin.Unknown,
	bool throwExceptions = false,
	bool saveFile = true
)

Parameters

fhField
Type: Packflow.CorePFFieldFileHolder
The FileHolder the file belongs to.
file
Type: Packflow.CorePFFile
The PFFile tat has to be synchronized.
origin (Optional)
Type: Packflow.CorePFItem_FileEventOrigin
An enum representing the origin of this call.
throwExceptions (Optional)
Type: SystemBoolean
If set true and a binding exception happens, it will be thrown without logging. Otherwise,.
saveFile (Optional)
Type: SystemBoolean
See Also