RegistryKey.Handle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a SafeRegistryHandle object that represents the registry key that the current RegistryKey object encapsulates.
public:
property Microsoft::Win32::SafeHandles::SafeRegistryHandle ^ Handle { Microsoft::Win32::SafeHandles::SafeRegistryHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafeRegistryHandle Handle { get; }
public Microsoft.Win32.SafeHandles.SafeRegistryHandle Handle { [System.Security.SecurityCritical] get; }
[System.Runtime.InteropServices.ComVisible(false)]
public Microsoft.Win32.SafeHandles.SafeRegistryHandle Handle { [System.Security.SecurityCritical] get; }
member this.Handle : Microsoft.Win32.SafeHandles.SafeRegistryHandle
[<get: System.Security.SecurityCritical>]
member this.Handle : Microsoft.Win32.SafeHandles.SafeRegistryHandle
[<get: System.Security.SecurityCritical>]
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Handle : Microsoft.Win32.SafeHandles.SafeRegistryHandle
Public ReadOnly Property Handle As SafeRegistryHandle
Property Value
The handle to the registry key.
- Attributes
Exceptions
The registry key is closed. Closed keys cannot be accessed.
The user does not have the necessary registry rights.
A system error occurred, such as deletion of the current key.
The user does not have the permissions required to read the key.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示