XdsObjects Help file
XdsObjects Namespace / XdsGlobal Class / GetRegString Method / GetRegString(String,String) Method

The name of the registry key.

The default return value.




GetRegString(String,String) Method
Returns the value of a cached key with default value
Syntax
Public Overloads Shared Function GetRegString( _
   ByVal Name As String, _
   ByVal Default As String _
) As String
Dim Name As String
Dim Default As String
Dim value As String
 
value = XdsGlobal.GetRegString(Name, Default)
public static string GetRegString( 
   string Name,
   string Default
)
public:
static String^ GetRegString( 
   String^ Name,
   String^ Default
) 

Parameters

Name

The name of the registry key.

Default

The default return value.

Return Value

string
Remarks

This method returns the registry key values from a internal look up table. If Name does not exist in that table, the default value will be returned.

XdsGlobal does not look into registry for key values, instead, an internal look up table is used to provide all those options used by XdsObjects, like logging, Importing/Exporting external files, Compression/Decompression, Supported SOP Class, Supported Transfer Syntax.

For a current list of values, se the wiki: http://www.medicalconnections.co.uk/kb/Registry_Values

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also