Partager via


SystemState.SetRegistryValueUInt64 Method

Applies To: Windows 8.1

Sets an unsigned 64-bit (unsigned REG_QWORD) value Into the registry.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As SystemState
Dim keyRoot As RegistryKey
Dim keyPath As String
Dim valueName As String
Dim data As ULong

instance.SetRegistryValueUInt64(keyRoot, keyPath, valueName, data)

Syntax

'Declaration
Public Sub SetRegistryValueUInt64 ( _
    keyRoot As RegistryKey, _
    keyPath As String, _
    valueName As String, _
    data As ULong _
)
public void SetRegistryValueUInt64 (
    RegistryKey keyRoot,
    string keyPath,
    string valueName,
    ulong data
)
public:
void SetRegistryValueUInt64 (
    RegistryKey^ keyRoot, 
    String^ keyPath, 
    String^ valueName, 
    usigned long long data
)
public void SetRegistryValueUInt64 (
    RegistryKey keyRoot, 
    String keyPath, 
    String valueName, 
    UInt64 data
)
public function SetRegistryValueUInt64 (
    keyRoot : RegistryKey, 
    keyPath : String, 
    valueName : String, 
    data : ulong
)

Parameters

  • keyRoot
    A handle to the root of the registry key.
  • keyPath
    The registry value path.
  • valueName
    The registry value name.
  • data
    A pointer to an item to set the registry value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

SystemState Class
SystemState Members
Microsoft.Assessments.Runtime Namespace