Click or drag to resize

IFileAsyncCheckedOut Property

IT Hit WebDAV Classes Reference
Provides information whether item is in checked-in or checked-out state.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
bool CheckedOut { get; }

Property Value

Type: Boolean
Boolean 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...
WebDavSessionAsync session = new WebDavSessionAsync(license);
session.Credentials = new NetworkCredential("User1", "pwd");

IFileAsync file = await session.OpenFileAsync(new Uri("http://server/directory/file.docx"));
if (file.CheckedOut)
    MessageBox.Show("The item is checked-out.");
else
    MessageBox.Show("The item is checked-in.");
See Also