Checkout

Checkout

amitnkukanur
Collaborator Collaborator
868 Views
2 Replies
Message 1 of 3

Checkout

amitnkukanur
Collaborator
Collaborator

Hello,

Am stuck up in file check out event, actually slightly modified my code so that the current proccess is FileCheckOut-Update-FileCheckin. 

 

I used

 mgr.DocumentService.CheckoutFile(folder.Id,file.Id,CheckoutFileOptions.Master,"DUMMY","D:\\Temp\\Test\\","",DownloadOptions.Download,false,

 

Issue: what should i specify the last option, that is Out ByteArray FileContents and will this option checks out a file

Senior Software Engineer
0 Likes
Accepted solutions (1)
869 Views
2 Replies
Replies (2)
Message 2 of 3

Redmond.D
Autodesk
Autodesk
Accepted solution

You create a new ByteArray variable and pass that in.  For C# you use the 'out' keyword.

The CheckinFile page has some exampe code.



Doug Redmond
Software Engineer
Autodesk, Inc.

0 Likes
Message 3 of 3

amitnkukanur
Collaborator
Collaborator

Ok Doug, I will work on It. Thanks for Information.

 

 

Thanks and Regards

Amit

Senior Software Engineer
0 Likes