DirectoryInfo Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the DirectoryInfo class on the specified path.
Namespace: System.IO
Assembly: System.IO (in System.IO.dll)
Syntax
'Declaration
Public Sub New ( _
path As String _
)
public DirectoryInfo(
string path
)
public:
DirectoryInfo(
String^ path
)
new :
path:string -> DirectoryInfo
public function DirectoryInfo(
path : String
)
Parameters
- path
Type: System. . :: . .String
A string specifying the path on which to create the DirectoryInfo.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.