OpenNETCF Smart Device Framework 2.3
Returns an array of string containing the names of the logical drives on the current computer.

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static string[] GetLogicalDrives()
Visual Basic (Declaration)
Public Shared Function GetLogicalDrives As String()
Visual Basic (Usage)
Dim returnValue As String()

returnValue = Environment2.GetLogicalDrives()
Visual C++
public:
static array<String^>^ GetLogicalDrives()
J#
public static String[] GetLogicalDrives()
JScript
public static function GetLogicalDrives() : String[]
JavaScript
OpenNETCF.Environment2.GetLogicalDrives = function();

Return Value

An array of string where each element contains the name of a logical drive.

See Also