M-Files API 23.11.13135.0
FindFile Method
MFilesClientApplication Object : FindFile Method
An absolute path to a file in M-Files.
Description
Gets a file based on the specified path.
Syntax
Visual Basic
Public Function FindFile( _
   ByVal Path As String, _
   Optional ByVal UpdateFromServer As Boolean = False _
) As ObjectVersionFile
Parameters
Path
An absolute path to a file in M-Files.
UpdateFromServer
Return Type
The ObjectVersionFile object that contains information on the file referenced by the given file path.
Remarks

The file name must be encoded with the object ID. The object ID is automatically appended to the file name if the object is opened from M-Files (e.g., M:\Sample\1. Documents\By Class\Application\Document Template for Word (ID 84).doc).

See Also

MFilesClientApplication Object  | MFilesClientApplication Members