packages/Microsoft.Win32.Registry.4.5.0/ref/netstandard2.0/Microsoft.Win32.Registry.xml
(开头部分) 94KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>Microsoft.Win32.Registry</name>
</assembly>
<members>
<member name="T:Microsoft.Win32.Registry">
<summary>Provides <see cref="T:Microsoft.Win32.RegistryKey"></see> objects that represent the root keys in the Windows registry, and static methods to access key/value pairs.</summary>
</member>
<member name="F:Microsoft.Win32.Registry.ClassesRoot">
<summary>Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.</summary>
<returns></returns>
</member>
<member name="F:Microsoft.Win32.Registry.CurrentConfig">
<summary>Contains configuration information pertaining to the hardware that is not specific to the user. This field reads the Windows registry base key HKEY_CURRENT_CONFIG.</summary>
<returns></returns>
</member>
<member name="F:Microsoft.Win32.Registry.CurrentUser">
<summary>Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER</summary>
<returns></returns>
</member>
<member name="M:Microsoft.Win32.Registry.GetValue(System.String,System.String,System.Object)">
<summary>Retrieves the value associated with the specified name, in the specified registry key. If the name is not found in the specified key, returns a default value that you provide, or null if the specified key does not exist.</summary>
<param name="keyName">The full registry path of the key, beginning with a valid registry root, such as &quot;HKEY_CURRENT_USER&quot;.</param>
<param name="valueName">The name of the name/value pair.</param>
<param name="defaultValue">The value to return if valueName does not exist.</param>
<returns>null if the subkey specified by <paramref name="keyName">keyName</paramref> does not exist; otherwise, the value associated with <paramref name="valueName">valueName</paramref>, or <paramref name="defaultValue">defaultValue</paramref> if <paramref name="valueName">valueName</paramref> is not found.</returns>
<exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
<exception cref="T:System.IO.IOException">The <see cref="Microsoft.Win32.RegistryKey"></see> that contains the specified value has been marked for deletion.</exception>
<exception cref="T:System.ArgumentException"><paramref name="keyName">keyName</paramref> does not begin with a valid registry root.</exception>
</member>
<member name="F:Microsoft.Win32.Registry.LocalMachine">
<summary>Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.</summary>
<returns></returns>
</member>
<member name="F:Microsoft.Win32.Registry.PerformanceData">
<summary>Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA.</summary>
<returns></returns>
</member>
<member name="M:Microsoft.Win32.Registry.SetValue(System.String,System.String,System.Object)">
<summary>Sets the specified name/value pair on the specified registry key. If the specified key does not exist, it is created.</summary>
<param name="keyName">The full registry path of the key, beginning with a valid registry root, such as &quot;HKEY_CURRENT_USER&quot;.</param>
<param name="valueName">The name of the name/value pair.</param>
<param name="value">The value to be stored.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="value">value</paramref> is null.</exception>
<exception cref="T:System.ArgumentException"><paramref name="keyName">keyName</paramref> does not begin with a valid registry root.
-or-
<paramref name="keyName">keyName</paramref> is longer than the maximum length allowed (255 characters).</exception>
<exception cref="T:System.UnauthorizedAccessException">The <see cref="Microsoft.Win32.RegistryKey"></see> is read-only, and thus cannot be written to; for example, it is a root-level node.</exception>
<exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
</member>
<member name="M:Microsoft.Win32.Registry.SetValue(System.String,System.String,System.Object,Microsoft.Win32.RegistryValueKind)">
<summary>Sets the name/value pair on the specified registry key, using the specified registry data type. If the specified key does not exist, it is created.</summary>
<param name="keyName">The full registry path of the key, beginning with a valid registry root, such as &quot;HKEY_CURRENT_USER&quot;.</param>
<param name="valueName">The name of the name/value pair.</param>
<param name="value">The value to be stored.</param>
<param name="valueKind">The registry data type to use when storing the data.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="value">value</paramref> is null.</exception>
<exception cref="T:System.ArgumentException"><paramref name="keyName">keyName</paramref> does not begin with a valid registry root.
-or-
<paramref name="keyName">keyName</paramref> is longer than the maximum length allowed (255 characters).
后面还有 842 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。