Sequence

Sequence class

Encapsulates the Sequence of Items (SQ) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=SQ-,Sequence%20of%20Items,-Value%20is%20a.

public sealed class Sequence : IElement, IEnumerable<Dataset>

Constructors

NameDescription
Sequence(Tag, IEnumerable<Dataset>)Initializes a new instance of the Sequence.

Properties

NameDescription
Count { get; }
Items { get; }The dataset items constituting the sequence. Read-only IReadOnlyCollection of Dataset.
Tag { get; }
ValueRepresentation { get; }

Methods

NameDescription
Get(int)Gets the element at the given index
Get<T>(Index)
Get<T>(int)
GetEnumerator()
GetOrDefault<T>(Index)
GetOrDefault<T>(int)
GetValues()Returns the element’s values.
GetValues(Range)Returns the element’s values at the specified range.
GetValues<T>()
GetValues<T>(Range)
override ToString()
TryGetValue<T>(Index, out T)
TryGetValue<T>(int, out T)

See Also