IResourceCheckedOut Property
IT Hit WebDAV Classes ReferenceProvides information whether item is in checked-in or checked-out state.
Namespace: ITHit.WebDAV.ClientAssembly: ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 1.3.366.0
Syntax ReadOnly Property CheckedOut As Boolean
Get
property bool CheckedOut {
bool get ();
}
abstract CheckedOut : bool with get
Property Value
Type:
BooleanBoolean value indicating if item is in checked-out state.
Examples
The following example demonstrates how to find out if item is in checked-out state.
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IResource resource = session.OpenResource(new Uri("http://server/directory/resource.docx"));
if (resource.CheckedOut)
MessageBox.Show("The item is checked-out.");
else
MessageBox.Show("The item is checked-in.");
See Also