Responder Developer Guide
GetString Method (RegistryInfo2)


Name of the data item to return its data value.
A default value to return if the item is not found in the registry.
Returns the registry data string for the current section/subkey for the data item name specified.
Syntax
'Declaration
 
Public Shared Function GetString( _
   ByVal itemName As String, _
   ByVal defaultValue As String _
) As String
'Usage
 
Dim itemName As String
Dim defaultValue As String
Dim value As String
 
value = RegistryInfo2.GetString(itemName, defaultValue)
public static string GetString( 
   string itemName,
   string defaultValue
)

Parameters

itemName
Name of the data item to return its data value.
defaultValue
A default value to return if the item is not found in the registry.

Return Value

The string value retrieved for the key or the default value if the key does not exist.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

RegistryInfo2 Class
RegistryInfo2 Members

 

 


Send Comment