UtilDrivesGetDrivesInfoOf Method
Gets all the drives of the specified DriveType.
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 IEnumerable<DriveInfo> GetDrivesInfoOf(
DriveType driveType
)
Public Shared Function GetDrivesInfoOf (
driveType As DriveType
) As IEnumerable(Of DriveInfo)
Dim driveType As DriveType
Dim returnValue As IEnumerable(Of DriveInfo)
returnValue = UtilDrives.GetDrivesInfoOf(driveType)
public:
static IEnumerable<DriveInfo^>^ GetDrivesInfoOf(
DriveType driveType
)
static member GetDrivesInfoOf :
driveType : DriveType -> IEnumerable<DriveInfo>
No code example is currently available or this language may not be supported.
- driveType DriveType
-
The type of drive.
IEnumerableDriveInfo
An
IEnumerableT that contains all the drives of specified type.
This is a code example.
No code example is currently available or this language may not be supported.
Dim hardDrives As IEnumerable(Of DriveInfo) = GetDrivesInfoOf(DriveType.Fixed)
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.