GetLatestFilesByFolderId Method
Gets the latest versions of all files within a folder.
Required Permissions
FileReadSyntax
public File[] GetLatestFilesByFolderId(
System.long folderId,
System.bool includeHidden
)Public Function GetLatestFilesByFolderId( _
ByVal folderId As System.Long, _
ByVal includeHidden As System.Boolean _
) As File()Parameters
| Name | Description |
|---|---|
| folderId | The ID of the folder. |
| includeHidden | If true, files marked as hidden will show up in the search. Otherwise hidden files will be excluded. |
Return Value
An array of files or null if the folder is empty.