public static IEnumerable<HardDriveInfo> GetDrives()Public Shared Function GetDrives As IEnumerable(Of HardDriveInfo)
Dim returnValue As IEnumerable(Of HardDriveInfo)
returnValue = HardDriveInfo.GetDrives()public:
static IEnumerable<HardDriveInfo^>^ GetDrives()static member GetDrives : unit -> IEnumerable<HardDriveInfo> No code example is currently available or this language may not be supported.