Skip to content

WebMessageAdditionalFileObjectPaths - cWebView2Browser

Can be used to query file paths of additional file objects passed with a WebMessage

Type: Function
Return Data Type: String[]

Syntax

Function WebMessageAdditionalFileObjectPaths Returns String[]

Call Example

Get WebMessageAdditionalFileObjectPaths to String[]Variable

Description

This function can be used within OnWebMessageReceived to query paths of files passed as additional objects.

These file objects need to be passed with the JavaScript window.chrome.webview.postMessageWithAdditionalObjects function. This can be used to build file 'upload' systems and is used by the cLocalWebResourceManager.

Return Value

Returns a string array with file paths.