UniqueIdentifier
UniqueIdentifier class
Encapsulates the Unique Identifier (UI) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=UI-,Unique%20Identifier,-(UID).
public sealed class UniqueIdentifier : MultiValueTextElement
Constructors
Properties
| Name | Description |
|---|
| override Count { get; } | The number of elements contained in this element. Read-only Int32. |
| Data { get; } | Multivalued Data Element value. Read-only IReadOnlyCollection of String. |
| Tag { get; } | |
| override ValueRepresentation { get; } | |
Methods
| Name | Description |
|---|
| Add(string) | Adds the given value to the collection of values of this element. |
| AddRange(IEnumerable<string>) | Adds the given values to the collection of values of this element. |
| override Get<T>(Index) | |
| override Get<T>(int) | |
| GetIdentifiers() | Returns UIDs stored in the element. Supplements the data property. |
| override GetOrDefault<T>(Index) | |
| override GetOrDefault<T>(int) | |
| override GetValues<T>() | |
| override GetValues<T>(Range) | |
| Insert(int, string) | Inserts the given value into this element at a given index. The size of the list is increased by one. |
| Remove(string) | Removes the first occurrence of a specific value from the element. |
| RemoveAt(int) | Removes the value at the specified index of the element. |
| Replace(IEnumerable<string>) | Replaces the current values by the collection of the given values. |
| override ToString() | |
| override TryGetValue<T>(Index, out T) | |
| override TryGetValue<T>(int, out T) | |
See Also