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

The name of the registry key.

The default return value.







    GetRegWord(String,Int32) Method
    Returns the value of a cached key with default value
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetRegWord( _
       ByVal Name As System.String, _
       ByVal Default As System.Integer _
    ) As System.Integer
     
    'Usage
     
    
    Dim Name As System.String
    Dim Default As System.Integer
    Dim value As System.Integer
     
    value = DicomGlobal.GetRegWord(Name, Default)

    Parameters

    Name

    The name of the registry key.

    Default

    The default return value.

    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, the default value will be returned.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also