public static void GetCheckOutfile(SPDocumentLibrary docs)
{
// foreach (SPCheckedOutFile spFiles in spFolder.Files)
foreach (SPCheckedOutFile file in docs.CheckedOutFiles)
{
if (file.LeafName != file.Url.ToString().Split('/')[3])
{
console.writeLine( file.LeafName);
}
}
}
No comments:
Post a Comment