Click or drag to resize

MFFileHelperObjectFilesToSourceFiles Method (Vault, ObjectFiles)

Turns an ObjectFiles collection into a SourceFiles collection by downloading the files to a temporary location.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
public static SourceObjectFiles ObjectFilesToSourceFiles(
	Vault vault,
	ObjectFiles files


Type: Vault
The vault in which the files resides.
Type: ObjectFiles
The list of files to download.

Return Value

Type: SourceObjectFiles
SourceObjectFiles object where the downloaded file locations are set as the SourceFilePath of each source file. The caller is responsible in deleting the files.
See Also