DicomObjects.NET.V8
DicomObjects Namespace / DicomGlobal Class / SetRegString Method

The name of the registry key.

The value to set.




In This Topic
    SetRegString Method
    In This Topic
    Insert or replace values in the internal virtual registry
    Syntax
    'Declaration
     
    Public Shared Sub SetRegString( _
       ByVal Name As String, _
       ByVal Value As String _
    ) 
    'Usage
     
    Dim Name As String
    Dim Value As String
     
    DicomGlobal.SetRegString(Name, Value)
    public static void SetRegString( 
       string Name,
       string Value
    )
    public:
    static void SetRegString( 
       String^ Name,
       String^ Value
    ) 

    Parameters

    Name

    The name of the registry key.

    Value

    The value to set.

    Remarks

    This method creates or replaces string values in the internal virtual registry. The internal look up table can be updated by calling this method to provide a pair of 'Name' and 'Value' e.g. 'UIDRoot' - '1.2.826.3.4.5.6'

    As DicomGlobal does not look in to registry any more (as did in COM version) for key values, instead, an internal look up table is used to provide all those options used by DicomObjects, 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: .NET CLR 4.0 or higher

    See Also