Table of Contents

Class DicomStringElement

Namespace
FellowOakDicom
Assembly
fo-dicom.core.dll

Base class for a DICOM string element.

public abstract class DicomStringElement : DicomElement, IComparable<DicomItem>, IComparable
Inheritance
DicomStringElement
Implements
Derived
Inherited Members
Extension Methods

Constructors

DicomStringElement(DicomTag, string)

protected DicomStringElement(DicomTag tag, string value)

Parameters

tag DicomTag
value string

DicomStringElement(DicomTag, Encoding[], IByteBuffer)

protected DicomStringElement(DicomTag tag, Encoding[] encodings, IByteBuffer buffer)

Parameters

tag DicomTag
encodings Encoding[]
buffer IByteBuffer

Properties

Count

Gets the number of values that the DICOM element contains.

public override int Count { get; }

Property Value

int

Number of value items.

StringValue

protected string StringValue { get; }

Property Value

string

TargetEncoding

public Encoding TargetEncoding { get; set; }

Property Value

Encoding

TargetEncodings

public Encoding[] TargetEncodings { get; set; }

Property Value

Encoding[]

Methods

Equals(DicomElement)

public override bool Equals(DicomElement other)

Parameters

other DicomElement

Returns

bool

Get<T>(int)

public override T Get<T>(int item = -1)

Parameters

item int

Returns

T

Type Parameters

T

ValidateString()

protected override void ValidateString()

See Also