Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ApplicationDeployment.DataDirectory Property

Definition

Namespace:
System.Deployment.Application
Assembly:
System.Deployment.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the path to the ClickOnce data directory.

public:
 property System::String ^ DataDirectory { System::String ^ get(); };
public string DataDirectory { get; }
member this.DataDirectory : string
Public ReadOnly Property DataDirectory As String

Property Value

A string containing the path to the application's data directory on the local disk.

Applies to