Share via


DirectoryInfo Constructor

Initializes a new instance of the DirectoryInfo class on the specified path.

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

Syntax

public DirectoryInfo (
         string path
)

Parameters

  • path
    A string specifying the path on which to create the DirectoryInfo.

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