Click or drag to resize

DirectoryInfo Constructor

Initialize the DirectoryInfo class with the specified path.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public DirectoryInfo(
	string dirPath
)

Parameters

dirPath  String
Path to create the DirectoryInfo object
Exceptions
ExceptionCondition
InvalidDirectoryLocationExceptionInvalid directory specified.
PathTooLongExceptionThe path is greater than 248 characters.
ArgumentExceptionThe path contains invalid characters.
ArgumentNullExceptionThe path is null.
SecurityExceptionThe user does not have the correct permissions.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also