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.1.0.1 (2.1.0.1)
Syntax
C#
public static SourceObjectFiles ObjectFilesToSourceFiles(
	Vault vault,
	ObjectFiles files
)

Parameters

vault
Type: Vault
The vault in which the files resides.
files
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