Application.UserAppDataRegistry 属性


获取用户的应用程序数据的注册表项。Gets the registry key for the application data of a user.

 static property Microsoft::Win32::RegistryKey ^ UserAppDataRegistry { Microsoft::Win32::RegistryKey ^ get(); };
public static Microsoft.Win32.RegistryKey UserAppDataRegistry { get; }
member this.UserAppDataRegistry : Microsoft.Win32.RegistryKey
Public Shared ReadOnly Property UserAppDataRegistry As RegistryKey


一个 RegistryKey,它表示特定于用户的应用程序数据的注册表项。A RegistryKey representing the registry key for the application data specific to the user.


如果该键不存在,则将采用以下格式创建它:If the key does not exist, it is created in the following format:


此注册表项中存储的数据是为漫游启用的用户配置文件的一部分。Data stored in this key is part of user profile that is enabled for roaming. 漫游用户在网络中的多台计算机上工作。A roaming user works on more than one computer in a network. 漫游用户的用户配置文件保存在网络上的服务器上,并在用户登录时加载到系统上。The user profile for a roaming user is kept on a server on the network and is loaded onto a system when the user logs on. 对于要被视为漫游的用户配置文件,操作系统必须支持漫游配置文件,并且必须启用该配置文件。For a user profile to be considered for roaming, the operating system must support roaming profiles and it must be enabled.