DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / AddPrivateDictionaryElement Method
Integer value, the group index of the data element.
Byte value, the lower byte element index of the data element.
The name of the private creator
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
    AddPrivateDictionaryElement Method
    In This Topic
    Adds Private Data Element to the Dictionary.
    Syntax
    'Declaration
     
    
    Public Shared Sub AddPrivateDictionaryElement( _
       ByVal Group As System.Integer, _
       ByVal Element As System.Byte, _
       ByVal Creator As System.String, _
       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.Byte
    Dim Creator As System.String
    Dim VR As System.String
    Dim VM As System.String
    Dim Description As System.String
     
    DicomGlobal.AddPrivateDictionaryElement(Group, Element, Creator, VR, VM, Description)
    public static void AddPrivateDictionaryElement( 
       System.int Group,
       System.byte Element,
       System.string Creator,
       System.string VR,
       System.string VM,
       System.string Description
    )
    public procedure AddPrivateDictionaryElement( 
        Group: System.Integer;
        Element: System.Byte;
        Creator: System.String;
        VR: System.String;
        VM: System.String;
        Description: System.String
    ); static; 
    public static function AddPrivateDictionaryElement( 
       Group : System.int,
       Element : System.byte,
       Creator : System.String,
       VR : System.String,
       VM : System.String,
       Description : System.String
    );
    public: static void AddPrivateDictionaryElement( 
       System.int Group,
       System.byte Element,
       System.string* Creator,
       System.string* VR,
       System.string* VM,
       System.string* Description
    ) 
    public:
    static void AddPrivateDictionaryElement( 
       System.int Group,
       System.byte Element,
       System.String^ Creator,
       System.String^ VR,
       System.String^ VM,
       System.String^ Description
    ) 

    Parameters

    Group
    Integer value, the group index of the data element.
    Element
    Byte value, the lower byte element index of the data element.
    Creator
    The name of the private creator
    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 private element 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.

    The Creator is a string which will be found in the element GGGG,00EE and identifies the creator of this private element

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also