Insert

ValueElement<T>.Insert method

Inserts the given value into this element at a given index. The size of the list is increased by one.

public void Insert(int index, T value)
ParameterTypeDescription
indexInt32The zero-based index at which value should be inserted.
valueTA value to be inserted at the specified index.

Exceptions

exceptioncondition
DicomValidationExceptionNumber of values does not match Value Multiplicity.

See Also