访问DriveInfo :: RootDirectory共享成员属性 [英] Accessing DriveInfo::RootDirectory Shared Member Property
问题描述
考虑一个实例化的DriveInfo对象,有一个公共的RootDirectory属性,在这个RootDirectory属性中是一个共享成员属性。此共享成员属性可以包含实例的错误枚举(ERROR_ACCESS_DENIED)。
如何从DriveInfo对象访问此枚举数据。我相信我只能通过WIN32或类似的64位应用程序访问它。
Consider an instantiated DriveInfo object, there is a public RootDirectory property and within this RootDirectory property is a Shared Member property. This shared member property can contain error enumerations for instance (ERROR_ACCESS_DENIED). How does one access this enumerated data from the DriveInfo object. I believe I can only access this via the WIN32 or something similar for 64 bit app.
推荐答案
您好dmk4170,
Hi dmk4170,
您是否想要像下面的屏幕截图一样访问它?
Do you want to access this like the following screenshot?
我只是使用Watch工具看到这个,但我不知道如何使用vb.net访问它。
I just see this using Watch tool, but I don't know how to access this using vb.net.
最好的问候,
Cherry
这篇关于访问DriveInfo :: RootDirectory共享成员属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!