RegistryState Constructor (String, String, Boolean)

3/29/2010

Initializes a new instance of the RegistryState class, using the key name, the names of its values, and a value indicating whether to use the application’s form thread to process the events.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)

Syntax

public RegistryState (
    string key,
    string valueName,
    bool useFormThread
)
'Declaration
Public Sub New ( _
    key As String, _
    valueName As String, _
    useFormThread As Boolean _
)

Parameters

  • key
    The string value of the registry key.
  • valueName
    The string name of the value.
  • useFormThread
    A value indicating whether to use the application's form thread for event processing. If your application does not contain a form, then set this value to false.

Remarks

Use the application’s form thread if you want to manipulate the user interface using an event.

See Also

Reference

RegistryState Class
RegistryState Members
Microsoft.WindowsMobile.Status Namespace