开发者

How to check the file is in check in mode or not in c#

开发者 https://www.devze.com 2022-12-27 00:20 出处:网络
I am getting the document of particular document library of a sharepoint site in C#. I want to check whether the file in checkin mode or in checkout mode . how can i d开发者_如何学运维o that. can any

I am getting the document of particular document library of a sharepoint site in C#. I want to check whether the file in checkin mode or in checkout mode . how can i d开发者_如何学运维o that. can any one help me?


Here you go, change parameter name as needed

if (spDestinationFile.Item.ParentList.ForceCheckout == true)

Have a look at this post about how it can be used.

0

精彩评论

暂无评论...
验证码 换一张
取 消