Finds or inserts (if not found) an element in the data set and sets the value of the element
public Leadtools.Dicom.DicomDataSet InsertElementAndSetValue(
long tag,
object value
)
Public Overloads Function InsertElementAndSetValue( _
ByVal tag As Long, _
ByVal value As Object _
) As Leadtools.Dicom.DicomDataSet
public Leadtools.Dicom.DicomDataSet InsertElementAndSetValue(
long tag,
object value
)
function Leadtools.Dicom.DicomDataSet.InsertElementAndSetValue(Int64,Object)(
tag ,
value
)
public:
Leadtools.Dicom.DicomDataSet^ InsertElementAndSetValue(
int64 tag,
Object^ value
)
tag
Tag of the item to find or insert.
value
value to insert
A reference to the DicomDataSet class (a 'this' pointer)
This method is used to set the value of an existing DICOM data set element, or if the existing element does not already exist, to insert the element and then set its value. The value parameter can be any supported DICOM value. For details on the value parameter, see SetValue
This method returns a reference to the DicomDataSet class so that it can be used as part of a 'fluent' interface. For an example of how this can be used efficiently to create a DICOM sequence, see BeginEditSequence
For an example, refer to InsertElementAndSetValue.
DicomDataSet.SetValue(DicomElement, object)
DicomDataSet.InsertElementAndSetValue(long, object)
DicomDataSet.InsertElementAndSetValue(DicomElement, bool, long, object)
InsertElementAndSetValueResult Property
Products |
Support |
Feedback: InsertElementAndSetValue(Int64,Object) Method - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.