wRTOSRegistry.WriteRegistry Method

Write a key into the registry.

Namespace:  IntervalZero.MaxRT.wRTOS
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS .dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public static Object WriteRegistry(
    RegistryKey keyBase,
    string subKeyPath,
    string valueName,
    RegistryValueKind kind,
    Object data
)

Parameters

keyBase

Type: Microsoft.Win32.RegistryKey
Base of registry.

subKeyPath

Type: System.String
Path to the key.

valueName

Type: System.String
Name of the key.

kind

Type: Microsoft.Win32.RegistryValueKind
Registry Value kind.

data

Type: System.Object
Value to set the key.

Return Value

Type: Object

Exceptions

wRTOSException

wRTOSInvalidArgumentException

See Also: