UndoCheckoutFile(FileIteration,FilePathAbsolute) Method
Undoes a checkout operation on a file.
Syntax
FileIteration UndoCheckoutFile(
FileIteration file,
FilePathAbsolute localFilePath
)Overloads Function UndoCheckoutFile( _
ByVal file As FileIteration, _
ByVal localFilePath As FilePathAbsolute _
) As FileIterationParameters
| Name | Description |
|---|---|
| file | The checked out file. |
| localFilePath | The location on disk to download the last-checked-in file. |
Return Value
The file iteration representing the last-checked-in version of the file.
Remarks
This method will overwrite any file on disc currently at the location localFilePath, set the set the file's create time to that of the last-checked-in version, and make the local file read-only. If the localFilePath is the working folder location for the file, file references will be updated.