Overview
Files Document myDocument.Files { get; }
Example
...
Code Block | ||
---|---|---|
| ||
var doc = $Documents.Get(id);
var fileCount = doc.Files.length;
// access with index
var file = doc.Files[0];
// access with file id
var file2 = doc.Files[fileId]; |
...
Accessing Document Files
Code Block | ||
---|---|---|
| ||
var doc = $Documents.Get(id); var fileCount = doc.Files.length; // access with index var file = doc.Files[0]; // access with file id var file2 = doc.Files[fileId]; |