NullDocumentTabManagerCloseCardAsync - метод
Закрывает карточку
Пространство имён: Tessa.UI.WindowsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task CloseCardAsync(
Guid cardID,
bool forceClose = false,
CancellationToken cancellationToken = default
)
Public Function CloseCardAsync (
cardID As Guid,
Optional forceClose As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ CloseCardAsync(
Guid cardID,
bool forceClose = false,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CloseCardAsync :
cardID : Guid *
?forceClose : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _forceClose = defaultArg forceClose false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override CloseCardAsync :
cardID : Guid *
?forceClose : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _forceClose = defaultArg forceClose false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- cardID Guid
- ID карточки
- forceClose Boolean (Optional)
- Признак необходимости закрыть принудительно
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskIDocumentTabManagerCloseCardAsync(Guid, Boolean, CancellationToken)