RegistryKey.View 属性

定义

获取用于创建注册表项的视图。Gets the view that was used to create the registry key.

public:
 property Microsoft::Win32::RegistryView View { Microsoft::Win32::RegistryView get(); };
public Microsoft.Win32.RegistryView View { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public Microsoft.Win32.RegistryView View { get; }
member this.View : Microsoft.Win32.RegistryView
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.View : Microsoft.Win32.RegistryView
Public ReadOnly Property View As RegistryView

属性值

RegistryView

用于创建注册表项的视图。The view that was used to create the registry key.

- 或 --or- 如果未使用视图,则为 DefaultDefault, if no view was used.

属性

注解

在64位版本的 Windows 上,将分别为32位和64位应用程序存储注册表部分。On the 64-bit versions of Windows, portions of the registry are stored separately for 32-bit and 64-bit applications. 对于32位应用程序,有32位视图,适用于64位应用程序的64位视图。There is a 32-bit view for 32-bit applications and a 64-bit view for 64-bit applications.

不要假设视图始终与的实际视图相对应 RegistryKeyDo not assume that the view always corresponds to the actual view of the RegistryKey.

适用于