Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / UserDataFolder Property

In This Topic
    UserDataFolder Property
    In This Topic
    Gets or sets the value to pass as the userDataFolder parameter of Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAsync(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions) when creating an environment with this instance.
    Syntax
    'Declaration
     
    Public Property UserDataFolder As System.String
    public System.string UserDataFolder {get; set;}
    Remarks
    UserDataFolder should be set before initializing CoreWebView2 the control, that is, before using it. After initialization of the CoreWebView2, this property has no further effect. By default, CoreWebView2 files will be created in the executing directory. The application may not have write permissions in this directory, so you will need to set the appropriate path.
    See Also