DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / Add Method / Add(Int32,Int32,String,Object) Method

The group index of a data element.

The element index of a data element.

The value representation (2 character string) of the data element to be added

The Value to be assigned




In This Topic
    Add(Int32,Int32,String,Object) Method
    In This Topic
    Creates and adds standard data elements with specified VR to DicomDataSet
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal Group As Integer, _
       ByVal Element As Integer, _
       ByVal VR As String, _
       ByVal Value As Object _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Group As Integer
    Dim Element As Integer
    Dim VR As String
    Dim Value As Object
     
    instance.Add(Group, Element, VR, Value)
    public void Add( 
       int Group,
       int Element,
       string VR,
       object Value
    )
    public:
    void Add( 
       int Group,
       int Element,
       String^ VR,
       Object^ Value
    ) 

    Parameters

    Group

    The group index of a data element.

    Element

    The element index of a data element.

    VR

    The value representation (2 character string) of the data element to be added

    Value

    The Value to be assigned

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also