Share via


SystemState.SetRegistryValueMultistring Method

Applies To: Windows 8.1

Sets a multi-string (REG_MULTI_SZ) 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 String

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

Syntax

'Declaration
Public Sub SetRegistryValueMultistring ( _
    keyRoot As RegistryKey, _
    keyPath As String, _
    valueName As String, _
    data As String _
)
public void SetRegistryValueMultistring (
    RegistryKey keyRoot,
    string keyPath,
    string valueName,
    string data
)
public:
void SetRegistryValueMultistring (
    RegistryKey^ keyRoot, 
    String^ keyPath, 
    String^ valueName, 
    String^ data
)
public void SetRegistryValueMultistring (
    RegistryKey keyRoot, 
    String keyPath, 
    String valueName, 
    String data
)
public function SetRegistryValueMultistring (
    keyRoot : RegistryKey, 
    keyPath : String, 
    valueName : String, 
    data : String
)

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 a buffer to set the registry string 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