Click or drag to resize

FileSystemInfoDelete Method

Delete the current directory.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public abstract void Delete()
Exceptions
ExceptionCondition
InvalidDirectoryLocationExceptionThe specified directory can not be deleted.
IOExceptionFile system error.
DirectoryNotFoundExceptionThe current directory does not Exist.
SecurityExceptionThe user does not have the required permissions to delete this directory.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also