DicomObjects.NET8 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
    Syntax
    'Declaration
     
    
    Public Shared Sub SetRegWord( _
       ByVal Name As String, _
       ByVal Value As Integer _
    ) 
    'Usage
     
    
    Dim Name As String
    Dim Value As Integer
     
    DicomGlobal.SetRegWord(Name, Value)
    public static void SetRegWord( 
       string Name,
       int Value
    )
    public:
    static void SetRegWord( 
       String^ Name,
       int Value
    ) 

    Parameters

    Name

    The name of the registry key.

    Value

    The value to set.

    Remarks

    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

    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