UtilDrivesGetDriveInfo Method
Returns the corresponding DriveInfo for the specified drive letter.
Namespace: DevCase.Core.IO.Devices.DrivesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static DriveInfo GetDriveInfo(
char driveLetter
)
Public Shared Function GetDriveInfo (
driveLetter As Char
) As DriveInfo
Dim driveLetter As Char
Dim returnValue As DriveInfo
returnValue = UtilDrives.GetDriveInfo(driveLetter)
public:
static DriveInfo^ GetDriveInfo(
wchar_t driveLetter
)
static member GetDriveInfo :
driveLetter : char -> DriveInfo
No code example is currently available or this language may not be supported.
- driveLetter Char
-
The drive letter, such as "C" or "D".
DriveInfo
The resulting
DriveInfo.
This is a code example.
No code example is currently available or this language may not be supported.
Dim driveInfo As DriveInfo = GetDriveInfo("C"c)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
ArgumentException
|
No drive found with the specified drive letter.
|