DicomObjects.NET.8.48 Documentation
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 System.String, _
       ByVal Value As System.String _
    ) 
    'Usage
     
    
    Dim Name As System.String
    Dim Value As System.String
     
    DicomGlobal.SetRegString(Name, Value)
    public static void SetRegString( 
       System.string Name,
       System.string Value
    )
    public procedure SetRegString( 
        Name: System.String;
        Value: System.String
    ); static; 
    public static function SetRegString( 
       Name : System.String,
       Value : System.String
    );
    public: static void SetRegString( 
       System.string* Name,
       System.string* Value
    ) 
    public:
    static void SetRegString( 
       System.String^ Name,
       System.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.8 or higher

    See Also