Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Checkout

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
amitnkukanur
370 Views, 2 Replies

Checkout

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
2 REPLIES 2
Message 2 of 3
Redmond.D
in reply to: amitnkukanur

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.

Message 3 of 3
amitnkukanur
in reply to: amitnkukanur

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

 

 

Thanks and Regards

Amit

Senior Software Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report