共用方式為


interface ICoreWebView2FileSystemHandle

interface ICoreWebView2FileSystemHandle
  : public IUnknown

Representation of a DOM FileSystemHandle object.

Summary

Members Descriptions
get_Kind The kind of the FileSystemHandle. It can either be a file or a directory.
get_Path The path to the FileSystemHandle.
get_Permission The permissions granted to the FileSystemHandle.

Applies to

Product Introduced
WebView2 Win32 1.0.2651.64
WebView2 Win32 Prerelease 1.0.2646

Members

get_Kind

The kind of the FileSystemHandle. It can either be a file or a directory.

public HRESULT get_Kind(COREWEBVIEW2_FILE_SYSTEM_HANDLE_KIND * value)

get_Path

The path to the FileSystemHandle.

public HRESULT get_Path(LPWSTR * value)

The caller must free the returned string with CoTaskMemFree. See API Conventions.

get_Permission

The permissions granted to the FileSystemHandle.

public HRESULT get_Permission(COREWEBVIEW2_FILE_SYSTEM_HANDLE_PERMISSION * value)