DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / Keyword Method / Keyword(UInt16,UInt16) Method
The Group value
The Element value
Example

In This Topic
    Keyword(UInt16,UInt16) Method
    In This Topic
    Construct a keyword from arbitrary group and element values
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Keyword( _
       ByVal Group As System.UShort, _
       ByVal Element As System.UShort _
    ) As Keyword
    public static Keyword Keyword( 
       System.ushort Group,
       System.ushort Element
    )

    Parameters

    Group
    The Group value
    Element
    The Element value

    Return Value

    A keyword
    Remarks
    Note that the keyword generated does not need to exist within the pre-defined values of the DicomObjects.Enums.Keyword enumeration, so this method may be used to generate keyword for private elements etc.
    Example
    ushort group = 0x0010;
    ushort element = 0x0010;
    var keyword = DicomGlobal.Keyword(group, element); // keyword = (DicomObjects.Enums.)Keyword.PatientName
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also