Share via


ReparsePointAware.CreateDirectory(String) Method

Definition

Creates all directories and subdirectories in the specified path. If the directory's canonical path contains Windows Reparse Points, UnauthorizedAccessException is thrown.

public static System.IO.DirectoryInfo CreateDirectory (string path);
static member CreateDirectory : string -> System.IO.DirectoryInfo
Public Shared Function CreateDirectory (path As String) As DirectoryInfo

Parameters

path
String

Full path to the target directory.

Returns

DirectoryInfo

Exceptions

The resulting directory contains Windows Reparse Points or otherwise cannot be accessed.

Applies to