Class UdefConvertHelper
This class contains helper functions for handling conversion of user-defined fields from one type to another.
Inherited Members
Namespace: SuperOffice.Data
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class UdefConvertHelper
Methods
ConvertAsync(object, UDefFieldType, UDefFieldType, int, int, int, CancellationToken)
This class contains helper functions for handling conversion of user-defined fields from one type to another.
Declaration
public static Task<object> ConvertAsync(object value, UDefFieldType sourceType, UDefFieldType targetType, int sourceListTableId, int sourceUdListDefinitionId, int sourceListItemId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | |
| UDefFieldType | sourceType | |
| UDefFieldType | targetType | |
| int | sourceListTableId | |
| int | sourceUdListDefinitionId | |
| int | sourceListItemId | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<object> |