多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that retrieves properties of each logical drive on the local computer. What should you do?()

  • A、Retrieve an instance of the FileSystemInfo class.
  • B、Retrieve an instance of the DriveInfo class.
  • C、Retrieve the drive capacity by using the DriveInfo.TotalSize property.
  • D、Determine if the drive is available by using the FileSystemInfo.Attributes property.
  • E、Retrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.
  • F、Retrieve the drive capacity by using the FileSystemInfo.Attributes property.
正确答案:B,C,E
答案解析:
进入题库查看解析

微信扫一扫手机做题