Class UniqueIdentifier

Class UniqueIdentifier

Namespace: Aspose.Medical.Dicom.Elements
Assembly: Aspose.Medical.dll (25.11.0)

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, IElement

Inheritance

object TextElement MultiValueTextElement UniqueIdentifier

Implements

IElement

Inherited Members

MultiValueTextElement.Add(string) , MultiValueTextElement.AddRange(IEnumerable<string>) , MultiValueTextElement.Get<t>(int) , MultiValueTextElement.Get<t>(Index) , MultiValueTextElement.GetOrDefault<t>(int) , MultiValueTextElement.GetOrDefault<t>(Index) , MultiValueTextElement.GetValues<t>() , MultiValueTextElement.GetValues<t>(Range) , MultiValueTextElement.Insert(int, string) , MultiValueTextElement.Remove(string) , MultiValueTextElement.RemoveAt(int) , MultiValueTextElement.Replace(IEnumerable<string>) , MultiValueTextElement.ToString() , MultiValueTextElement.TryGetValue<t>(int, out T?) , MultiValueTextElement.TryGetValue<t>(Index, out T?) , MultiValueTextElement.Data , MultiValueTextElement.Count , TextElement.Get<t>(int) , TextElement.Get<t>(Index) , TextElement.GetOrDefault<t>(int) , TextElement.GetOrDefault<t>(Index) , TextElement.GetValues<t>() , TextElement.GetValues<t>(Range) , TextElement.TryGetValue<t>(int, out T?) , TextElement.TryGetValue<t>(Index, out T?) , TextElement.Count , TextElement.Tag , TextElement.ValueRepresentation , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

UniqueIdentifier(Tag, params Uid[])

Creates a new instance of the Aspose.Medical.Dicom.Elements.UniqueIdentifier.

public UniqueIdentifier(Tag tag, params Uid[] data)

Parameters

tag Tag

Tag of this element.

data Uid []

Aspose.Medical.Dicom.Uid collection to be used as this element’s data.

Exceptions

DicomValidationException

The provided data are invalid.

UniqueIdentifier(Tag, params string[])

Creates a new instance of the Aspose.Medical.Dicom.Elements.UniqueIdentifier.

public UniqueIdentifier(Tag tag, params string[] data)

Parameters

tag Tag

Tag of this element.

data string []

Collection of UIDs to be used as this element’s data.

Exceptions

DicomValidationException

The provided data are invalid.

UniqueIdentifier(Tag, Span<string>)

Creates a new instance of the Aspose.Medical.Dicom.Elements.UniqueIdentifier.

public UniqueIdentifier(Tag tag, Span<string> data)

Parameters

tag Tag

Tag of this element.

data Span < string &gt;

Collection of UIDs to be used as this element’s data.

Exceptions

DicomValidationException

The provided data are invalid.

Properties

ValueRepresentation

The Value Representation of the element. Read-only Aspose.Medical.Dicom.Elements.IElement.ValueRepresentation.

public override ValueRepresentation ValueRepresentation { get; }

Property Value

ValueRepresentation

Methods

Accept(Walker)

Dispatches (delegates) a request to the accepted walker.

protected override void Accept(Walker walker)

Parameters

walker Walker

A walker to be used for traversal and perform operations.

AcceptAsync(AsyncWalker)

Asynchronously dispatches (delegates) a request to the accepted walker.

protected override Task AcceptAsync(AsyncWalker walker)

Parameters

walker AsyncWalker

A walker to be used for traversal and perform operations.

Returns

Task

GetIdentifiers()

Returns UIDs stored in the element. Supplements the data property.

public IEnumerable<uid> GetIdentifiers()

Returns

IEnumerable < Uid &gt;

The collection of Aspose.Medical.Dicom.Uid. </string></t></t></t></t></t></t></t></t></t></t></string></t></t></t></t></t></t></string>