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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.