I am reading the IsLocked (boolean) value of a document, which is open in edited mode and has a LOCK on it (I can see the lock in LF Client as well as under Admin console) but the return value is false (instead of true). I am sure that it has picked-up the right document but just not getting the right IsLocked value. Any ideas?
ILFEntry EntryHit = (ILFEntry)Hit.Entry; int DocID = EntryHit.ID; if (EntryHit.IsLocked) { MessageBox.Show("Entry is Locked: " + DocID); }
In the above code, Hit is a 'LFSearchHit' type.