Responder Developer Guide
GetValue 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 for the current section/subkey for the data item name specified.
Syntax
'Declaration
 
Public Shared Function GetValue( _
   ByVal itemName As String, _
   ByVal defaultValue As Object _
) As Object
'Usage
 
Dim itemName As String
Dim defaultValue As Object
Dim value As Object
 
value = RegistryInfo2.GetValue(itemName, defaultValue)
public static object GetValue( 
   string itemName,
   object 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 value of the data item or the defaultValue if the data item is not found.
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