Gets objects by the path specified. This method can be used in offline mode.
Visual Basic |
---|
Public Function GetObjectsInPath( _ ByVal RelativePath As String, _ ByVal SortResults As Boolean, _ Optional ByVal UpdateFromServer As Boolean = False _ ) As ObjectSearchResults |
If a file name is used in a path, it 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. The disk drive letter and the first folder level (the vault name folder) are left out of the path.
For example: Documents\By Class\Application\Document Template for Word (ID 84).doc
This method is available only if M-Files API is used in the client interface mode.