Class OtherWord

Class OtherWord

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

Encapsulates the Other Word (OW) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=OW-,Other%20Word,-A%20stream%20of .

public sealed class OtherWord : ValueElement<ushort>, IElement

Inheritance

object ValueElement<ushort> OtherWord

Implements

IElement

Inherited Members

ValueElement<ushort>.Add(ushort) , ValueElement<ushort>.AddRange(Span<ushort>) , ValueElement<ushort>.ConvertData<toutput>(Func<ushort, toutput="">) , ValueElement<ushort>.Get<tvalue>(int) , ValueElement<ushort>.Get<tvalue>(Index) , ValueElement<ushort>.Get(int) , ValueElement<ushort>.GetOrDefault<tvalue>(int) , ValueElement<ushort>.GetOrDefault<tvalue>(Index) , ValueElement<ushort>.GetSingleOrDefault() , ValueElement<ushort>.GetValues<tvalue>() , ValueElement<ushort>.GetValues() , ValueElement<ushort>.GetValues<tvalue>(Range) , ValueElement<ushort>.GetValues(Range) , ValueElement<ushort>.Insert(int, ushort) , ValueElement<ushort>.Remove(ushort) , ValueElement<ushort>.RemoveAt(int) , ValueElement<ushort>.Replace(IEnumerable<ushort>) , ValueElement<ushort>.ToString() , ValueElement<ushort>.TryGetValue<tvalue>(int, out TValue?) , ValueElement<ushort>.TryGetValue<tvalue>(Index, out TValue?) , ValueElement<ushort>.Data , ValueElement<ushort>.Tag , ValueElement<ushort>.ValueRepresentation , ValueElement<ushort>.Count , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OtherWord(Tag, Span<ushort>)

public OtherWord(Tag tag, Span<ushort> data)

Parameters

tag Tag

data Span < ushort &gt;

OtherWord(Tag, ushort)

Initializes a new instance of the Aspose.Medical.Dicom.Elements.OtherWord with the given value and tag.

public OtherWord(Tag tag, ushort value)

Parameters

tag Tag

Element’s tag.

value ushort

Element’s value.

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 </ushort></ushort></ushort></ushort></ushort></tvalue></ushort></tvalue></ushort></ushort></ushort></ushort></ushort></ushort></ushort></ushort></tvalue></ushort></ushort></tvalue></ushort></ushort></tvalue></ushort></tvalue></ushort></ushort></tvalue></ushort></tvalue></ushort></ushort,></toutput></ushort></ushort></ushort></ushort></ushort>