IAppGuessFileTypeAsyncT Method (AsyncHandle, FuncResponse, T, String, String) |
Guesses the data format for a given file.
Recognized file formats are:
* CSV for Delimited
* FIX for Fixed Record
*
DIF for Data Interchange Format
* EXCEL_BIFF for Microsoft Excel (XLS)
* EXCEL_OOXML for Microsoft Excel (XLSX)
* HTMLfor HTML
* QVD for QVD file
* XML for XML
* QVX for QVX file
* JSON for JSON format
*
KML for KML file
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> GuessFileTypeAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string connectionId,
string relativePath = null
)
Function GuessFileTypeAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
connectionId As String,
Optional relativePath As String = Nothing
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - connectionId
- Type: SystemString
Identifier of the connection file.
This parameter is mandatory. - relativePath (Optional)
- Type: SystemString
Path of the connection file.
This parameter is optional.
Type Parameters
- T
Return Value
Type:
TaskTSee Also