VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomDataElementCollection Class / Insert Methods / Insert(Int32,DicomDataElement) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Insert(Int32,DicomDataElement) Method (DicomDataElementCollection)
In This Topic
Inserts an element into the DicomDataElementCollection at the specified index.
Syntax
'Declaration

Public Overloads Sub Insert( _
ByVal index
The zero-based index at which the new elements should be inserted.
As System.Int32, _
ByVal dataElement
The DicomDataElement object to be added to the collection.
As DicomDataElement _
)
public void Insert(
System.Int32 index,
DicomDataElement dataElement
)

Parameters

index
The zero-based index at which the new elements should be inserted.
dataElement
The DicomDataElement object to be added to the collection.
Exceptions
ExceptionDescription
Thrown if index is less than zero.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also