Platform Core .NET Assemblies API
GetDirectories Method
See Also  Send Feedback
Terrasoft.IO Namespace > IDirectoryInfo Interface : GetDirectories Method

Glossary Item Box

Returns the subdirectories of the current directory.

Syntax

 
C#
 
 

Return Value

An array of IDirectoryInfoobjects.

Exceptions

ExceptionDescription
System.IO.DirectoryNotFoundExceptionThe path encapsulated in the IDirectoryInfo object is invalid, such as being on an unmapped drive
System.Security.SecurityExceptionThe caller does not have the required permission.
System.UnauthorizedAccessExceptionThe caller does not have the required permission.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.