IDocumentService.CanLockMainFile — метод (Document, DocumentFile, Boolean)
Определяет возможность блокировки указанного основного файла документа.
-
Пространство имён:
DocsVision.BackOffice.ObjectModel.Services -
Сборка:
DocsVision.BackOffice.ObjectModel.dll
Синтаксис
bool CanLockMainFile(Document document, DocumentFile file, bool forceUnlock)
- Параметры
-
- document
-
Тип:
DocumentДокумент
- file
-
Тип:
DocumentFileФайл документа
- forceUnlock
-
Тип:
System.Booleantrue— принудительная разблокировка
- Возвращаемое значение
-
Тип:
System.Booleantrue— блокировка файла возможна, иначе —false