Share via


DirectoryInfo.CreateSubdirectory Method

Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the DirectoryInfo class.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public DirectoryInfo CreateSubdirectory (
         string path
)

Parameters

  • path
    The specified path. This cannot be a different disk volume or Universal Naming Convention (UNC) name.

Return Value

The last directory specified in path.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

DirectoryInfo Class
DirectoryInfo Members
System.IO Namespace