Class UnsignedShort
Namespace: Aspose.Medical.Dicom.Elements
Assembly: Aspose.Medical.dll (25.11.0)
Encapsulates the Unsigned Short (US) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=US-,Unsigned%20Short,-Unsigned%20binary%20integer .
public sealed class UnsignedShort : ValueElement<ushort>, IElementInheritance
object ← ValueElement<ushort> ← UnsignedShort
Implements
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
UnsignedShort(Tag, Span<ushort>)
public UnsignedShort(Tag tag, Span<ushort> data)Parameters
tag Tag
UnsignedShort(Tag, ushort)
Initializes a new instance of the Aspose.Medical.Dicom.Elements.UnsignedShort with the given
value and tag.
public UnsignedShort(Tag tag, ushort value)Parameters
tag Tag
Element’s tag.
value ushort
Element’s value.
Exceptions
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
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>