共用方式為


CoreWebView2.ClearVirtualHostNameToFolderMapping(String) Method

Definition

Clears a host name mapping for local folder that was added by SetVirtualHostNameToFolderMapping(String, String, CoreWebView2HostResourceAccessKind).

public void ClearVirtualHostNameToFolderMapping (string hostName);
member this.ClearVirtualHostNameToFolderMapping : string -> unit
Public Sub ClearVirtualHostNameToFolderMapping (hostName As String)

Parameters

hostName
String

The host name to be removed from the mapping.

Applies to

See also