System.IO.DriveInfo.GetDrives C# (CSharp) Метод

GetDrives() публичный статический Метод

public static GetDrives ( ) : System.IO.DriveInfo[]
Результат System.IO.DriveInfo[]
        public static System.IO.DriveInfo[] GetDrives() { throw null; }
        public override string ToString() { throw null; }

Same methods

DriveInfo::GetDrives ( ) : System.IO.DriveInfo[]

Usage Example

Пример #1
0
 public IReadOnlyList <DriveInfo> GetMountedDrives() =>
 IoDriveInfo
 .GetDrives()
 .Select(CreateFrom)
 .WhereNotNull()
 .ToArray();