Partilhar via


PackageUtilities.EnsureOutputPath(String) Method

Definition

Creates the directories required for the given path.

public:
 static void EnsureOutputPath(System::String ^ path);
public:
 static void EnsureOutputPath(Platform::String ^ path);
 static void EnsureOutputPath(std::wstring const & path);
public static void EnsureOutputPath (string path);
static member EnsureOutputPath : string -> unit
Public Sub EnsureOutputPath (path As String)

Parameters

path
String

The path to create.

Remarks

This method catches the exceptions thrown by CreateDirectory.

Applies to