DicomObjects.NET.V8
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
    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 3.5 or higher

    See Also