IAppGuessFileTypeAsync Method (String, String, AsyncHandle) |
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: 1.1.0.0 (1.1.0.0)
SyntaxTask<FileDataFormat> GuessFileTypeAsync(
string connectionId,
string relativePath = null,
AsyncHandle asyncHandle = null
)
Function GuessFileTypeAsync (
connectionId As String,
Optional relativePath As String = Nothing,
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of FileDataFormat)
Parameters
- 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. - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Return Value
Type:
TaskFileDataFormat
See Also