DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / KeywordGroup Method
Example

In This Topic
    KeywordGroup Method
    In This Topic
    Returns the "group" number for a keyword
    Syntax
    'Declaration
     
    
    Public Shared Function KeywordGroup( _
       ByVal keyword As Keyword _
    ) As System.UShort
    public static System.ushort KeywordGroup( 
       Keyword keyword
    )

    Parameters

    keyword

    Return Value

    The group number
    Example
    // Examples
    var group = DicomGlobal.KeywordGroup(Keyword.PatientName); // group = 16
    var group = DicomGlobal.KeywordGroup(Keyword.SOPClassUID); // group = 8
    var group = DicomGlobal.KeywordGroup(Keyword.PlaneOrientationSequence); // group = 32
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also