DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / GetRegWord Method / GetRegWord(String) Method

The name of the registry key.

Example

In This Topic
    GetRegWord(String) Method
    In This Topic
    Returns the value of a cached key
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetRegWord( _
       ByVal Name As System.String _
    ) As System.Integer
    public static System.int GetRegWord( 
       System.string Name
    )

    Parameters

    Name

    The name of the registry key.

    Return Value

    int
    Remarks
    This method returns the registry key values from a internal look up table. If Name does not exist in that table, it will return 0.
    Example
    // Examples
    var createPrivateCreator = DicomGlobal.GetRegWord("CreatePrivateCreatorForXML");
    var logMachineID = DicomGlobal.GetRegWord("LogMachineIDInfo");
    var changeLossyID = DicomGlobal.GetRegWord("ChangeLossyUIDs");
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also