Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

FileInfo Files myFiles.Copy(id: string)

Arguments

string id
Id number of of file

Example

Code Block
languagets
var file = $File.Copy('1234');
console.log(file.Id);

...

Returns

...

Remarks

This method throws exception if given file id is not found.

Example

Code Block
languagetsjs
var file = $File.Copy('1234'fileId);
console.log(file.Id);