DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / AddDictionaryElement Method
Integer value, the group index of the data element.
Integer value, the element index of the data element.
String value, the value representation of the new data element.
String value, the value multiplicity of the data element.
String value, the description of the data element.






In This Topic
    AddDictionaryElement Method
    In This Topic
    Adds Data Element to the Dictionary.
    Syntax
    'Declaration
     
    
    Public Shared Sub AddDictionaryElement( _
       ByVal Group As System.Integer, _
       ByVal Element As System.Integer, _
       ByVal VR As System.String, _
       ByVal VM As System.String, _
       ByVal Description As System.String _
    ) 
    'Usage
     
    
    Dim Group As System.Integer
    Dim Element As System.Integer
    Dim VR As System.String
    Dim VM As System.String
    Dim Description As System.String
     
    DicomGlobal.AddDictionaryElement(Group, Element, VR, VM, Description)
    public static void AddDictionaryElement( 
       System.int Group,
       System.int Element,
       System.string VR,
       System.string VM,
       System.string Description
    )
    public procedure AddDictionaryElement( 
        Group: System.Integer;
        Element: System.Integer;
        VR: System.String;
        VM: System.String;
        Description: System.String
    ); static; 
    public static function AddDictionaryElement( 
       Group : System.int,
       Element : System.int,
       VR : System.String,
       VM : System.String,
       Description : System.String
    );
    public: static void AddDictionaryElement( 
       System.int Group,
       System.int Element,
       System.string* VR,
       System.string* VM,
       System.string* Description
    ) 
    public:
    static void AddDictionaryElement( 
       System.int Group,
       System.int Element,
       System.String^ VR,
       System.String^ VM,
       System.String^ Description
    ) 

    Parameters

    Group
    Integer value, the group index of the data element.
    Element
    Integer value, the element index of the data element.
    VR
    String value, the value representation of the new data element.
    VM
    String value, the value multiplicity of the data element.
    Description
    String value, the description of the data element.
    Remarks

    If the specified Group and Element locate an existing data element in the dictionary, that data element will be removed from the dictionary and the new data element will be added to the dictionary. Otherwise, a new dictionary entry for the specified data element will be created.

    Following the link to see more information about Group, Element, VR, VM and Description.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also