Partager via


SystemState.CheckRegistryValueString Method

Applies To: Windows 8.1

Retrieves an unsigned 64-bit (unsigned REG_QWORD) value from 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 returnValue As String

returnValue = instance.CheckRegistryValueString(keyRoot, keyPath, valueName)

Syntax

'Declaration
Public Function CheckRegistryValueString ( _
    keyRoot As RegistryKey, _
    keyPath As String, _
    valueName As String _
) As String
public string CheckRegistryValueString (
    RegistryKey keyRoot,
    string keyPath,
    string valueName
)
public:
String^ CheckRegistryValueString (
    RegistryKey^ keyRoot, 
    String^ keyPath, 
    String^ valueName
)
public String CheckRegistryValueString (
    RegistryKey keyRoot, 
    String keyPath, 
    String valueName
)
public function CheckRegistryValueString (
    keyRoot : RegistryKey, 
    keyPath : String, 
    valueName : String
) : String

Parameters

  • keyRoot
    A handle to the root of the registry key.
  • keyPath
    The registry value path.
  • valueName
    The registry value name.

Return Value

Returns String.

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