SettingsUnitEditorWebProxyImportUnitRecordsAsync - метод
Imports a settings unit available in the current session.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
public Task ImportUnitRecordsAsync(
string unitName,
string? fragmentName,
List<SettingsUnitFileRecord> fileRecords,
CancellationToken cancellationToken = default
)
Public Function ImportUnitRecordsAsync (
unitName As String,
fragmentName As String,
fileRecords As List(Of SettingsUnitFileRecord),
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ ImportUnitRecordsAsync(
String^ unitName,
String^ fragmentName,
List<SettingsUnitFileRecord^>^ fileRecords,
CancellationToken cancellationToken = CancellationToken()
)
member ImportUnitRecordsAsync :
unitName : string *
fragmentName : string *
fileRecords : List<SettingsUnitFileRecord> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- unitName String
- The unique settings unit name.
- fragmentName String
- The unique name of the settings fragment within the settings unit if specified.
- fileRecords ListSettingsUnitFileRecord
- Collection of SettingsUnitFileRecord objects containing records to import.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskRepresents an asynchronous operation.