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

The name of the registry key.

The default return value.




In This Topic
    GetRegWord(String,Int32) Method
    In This Topic
    Returns the value of a cached key with default value
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetRegWord( _
       ByVal Name As String, _
       ByVal Default As Integer _
    ) As Integer
    'Usage
     
    
    Dim Name As String
    Dim Default As Integer
    Dim value As Integer
     
    value = DicomGlobal.GetRegWord(Name, Default)
    public static int GetRegWord( 
       string Name,
       int Default
    )
    public:
    static int GetRegWord( 
       String^ Name,
       int Default
    ) 

    Parameters

    Name

    The name of the registry key.

    Default

    The default return value.

    Return Value

    int
    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