DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / SetRegWord Method

The name of the registry key.

The value to set.

In This Topic
    SetRegWord Method
    In This Topic
    Sets key values in the internal look up table
    Public Shared Sub SetRegWord( _
       ByVal Name As System.String, _
       ByVal Value As System.Integer _
    Dim Name As System.String
    Dim Value As System.Integer
    DicomGlobal.SetRegWord(Name, Value)
    public static void SetRegWord( 
       System.string Name,
       System.int Value
    public procedure SetRegWord( 
        Name: System.String;
        Value: System.Integer
    ); static; 
    public static function SetRegWord( 
       Name : System.String,
       Value : System.int
    public: static void SetRegWord( 
       System.string* Name,
       System.int Value
    static void SetRegWord( 
       System.String^ Name,
       System.int Value



    The name of the registry key.


    The value to set.


    This method creates, if the specified key does not exist, and puts the word value in. The internal look up table can be made by calling this method to provide a pair of 'Name' and 'Value' e.g. 'LogLevel' - '1', 'LogLocation' - '"c:\"'.

    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


    Target Platforms: .NET CLR 4.8 or higher

    See Also