DicomObjects.NET.V8
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 Integer, _
       ByVal Element As Integer, _
       ByVal VR As String, _
       ByVal VM As String, _
       ByVal Description As String _
    ) 
    'Usage
     
    Dim Group As Integer
    Dim Element As Integer
    Dim VR As String
    Dim VM As String
    Dim Description As String
     
    DicomGlobal.AddDictionaryElement(Group, Element, VR, VM, Description)
    public static void AddDictionaryElement( 
       int Group,
       int Element,
       string VR,
       string VM,
       string Description
    )
    public:
    static void AddDictionaryElement( 
       int Group,
       int Element,
       String^ VR,
       String^ VM,
       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 3.5 or higher

    See Also