Search Results for

    Show / Hide Table of Contents

    Class DicomVR

    DICOM Value Representation

    Inheritance
    Object
    DicomVR
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class DicomVR

    Fields

    AE

    Application Entity

    Declaration
    public static readonly DicomVR AE
    Field Value
    Type Description
    DicomVR

    AS

    Age String

    Declaration
    public static readonly DicomVR AS
    Field Value
    Type Description
    DicomVR

    AT

    Attribute Tag

    Declaration
    public static readonly DicomVR AT
    Field Value
    Type Description
    DicomVR

    CS

    Code String

    Declaration
    public static readonly DicomVR CS
    Field Value
    Type Description
    DicomVR

    DA

    Date

    Declaration
    public static readonly DicomVR DA
    Field Value
    Type Description
    DicomVR

    DS

    Decimal String

    Declaration
    public static readonly DicomVR DS
    Field Value
    Type Description
    DicomVR

    DT

    Date Time

    Declaration
    public static readonly DicomVR DT
    Field Value
    Type Description
    DicomVR

    FD

    Floating Point Double

    Declaration
    public static readonly DicomVR FD
    Field Value
    Type Description
    DicomVR

    FL

    Floating Point Single

    Declaration
    public static readonly DicomVR FL
    Field Value
    Type Description
    DicomVR

    IS

    Integer String

    Declaration
    public static readonly DicomVR IS
    Field Value
    Type Description
    DicomVR

    LO

    Long String

    Declaration
    public static readonly DicomVR LO
    Field Value
    Type Description
    DicomVR

    LT

    Long Text

    Declaration
    public static readonly DicomVR LT
    Field Value
    Type Description
    DicomVR

    NONE

    No VR

    Declaration
    public static readonly DicomVR NONE
    Field Value
    Type Description
    DicomVR

    OB

    Other Byte

    Declaration
    public static readonly DicomVR OB
    Field Value
    Type Description
    DicomVR

    OD

    Other Double

    Declaration
    public static readonly DicomVR OD
    Field Value
    Type Description
    DicomVR

    OF

    Other Float

    Declaration
    public static readonly DicomVR OF
    Field Value
    Type Description
    DicomVR

    OL

    Other Long

    Declaration
    public static readonly DicomVR OL
    Field Value
    Type Description
    DicomVR

    OV

    Other Very Long

    Declaration
    public static readonly DicomVR OV
    Field Value
    Type Description
    DicomVR

    OW

    Other Word

    Declaration
    public static readonly DicomVR OW
    Field Value
    Type Description
    DicomVR

    PN

    Person Name

    Declaration
    public static readonly DicomVR PN
    Field Value
    Type Description
    DicomVR

    SH

    Short String

    Declaration
    public static readonly DicomVR SH
    Field Value
    Type Description
    DicomVR

    SL

    Signed Long

    Declaration
    public static readonly DicomVR SL
    Field Value
    Type Description
    DicomVR

    SQ

    Sequence of Items

    Declaration
    public static readonly DicomVR SQ
    Field Value
    Type Description
    DicomVR

    SS

    Signed Short

    Declaration
    public static readonly DicomVR SS
    Field Value
    Type Description
    DicomVR

    ST

    Short Text

    Declaration
    public static readonly DicomVR ST
    Field Value
    Type Description
    DicomVR

    SV

    Signed Very Long

    Declaration
    public static readonly DicomVR SV
    Field Value
    Type Description
    DicomVR

    TM

    Time

    Declaration
    public static readonly DicomVR TM
    Field Value
    Type Description
    DicomVR

    UC

    Unlimited Characters

    Declaration
    public static readonly DicomVR UC
    Field Value
    Type Description
    DicomVR

    UI

    Unique Identifier

    Declaration
    public static readonly DicomVR UI
    Field Value
    Type Description
    DicomVR

    UL

    Unsigned Long

    Declaration
    public static readonly DicomVR UL
    Field Value
    Type Description
    DicomVR

    UN

    Unknown

    Declaration
    public static readonly DicomVR UN
    Field Value
    Type Description
    DicomVR

    UR

    Universal Resource Identifier or Universal Resource Locator (URI/URL)

    Declaration
    public static readonly DicomVR UR
    Field Value
    Type Description
    DicomVR

    US

    Unsigned Short

    Declaration
    public static readonly DicomVR US
    Field Value
    Type Description
    DicomVR

    UT

    Unlimited Text

    Declaration
    public static readonly DicomVR UT
    Field Value
    Type Description
    DicomVR

    UV

    Unsigned Very Long

    Declaration
    public static readonly DicomVR UV
    Field Value
    Type Description
    DicomVR

    Properties

    ByteSwap

    Number of bytes to swap when changing endian representation of value. Usually equal to the UnitSize.

    Declaration
    public int ByteSwap { get; }
    Property Value
    Type Description
    Int32

    Code

    Code used to represent VR.

    Declaration
    public string Code { get; }
    Property Value
    Type Description
    String

    Is16bitLength

    Length field of value is a 16-bit short integer.

    Declaration
    public bool Is16bitLength { get; }
    Property Value
    Type Description
    Boolean

    IsMultiValue

    Value can contain multiple items.

    Declaration
    public bool IsMultiValue { get; }
    Property Value
    Type Description
    Boolean

    IsString

    Value is a string.

    Declaration
    public bool IsString { get; }
    Property Value
    Type Description
    Boolean

    IsStringEncoded

    String is encoded using the specified character set.

    Declaration
    public bool IsStringEncoded { get; }
    Property Value
    Type Description
    Boolean

    MaximumLength

    Maximum length of a single value.

    Declaration
    public uint MaximumLength { get; }
    Property Value
    Type Description
    UInt32

    Name

    Descriptive name of VR.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    PaddingValue

    Byte value used to pad value to even length.

    Declaration
    public byte PaddingValue { get; }
    Property Value
    Type Description
    Byte

    UnitSize

    Size of each individual value unit for fixed length value types.

    Declaration
    public int UnitSize { get; }
    Property Value
    Type Description
    Int32

    ValueType

    Type used to represent VR value.

    Declaration
    public Type ValueType { get; }
    Property Value
    Type Description
    Type

    Methods

    Parse(String)

    Get VR for given string value.

    Declaration
    public static DicomVR Parse(string vr)
    Parameters
    Type Name Description
    String vr

    String representation of VR

    Returns
    Type Description
    DicomVR

    VR

    ToString()

    Gets a string representation of this VR.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    VR code

    Overrides
    Object.ToString()

    TryParse(String, out DicomVR)

    Try to get VR for given string value.

    Declaration
    public static bool TryParse(string vr, out DicomVR result)
    Parameters
    Type Name Description
    String vr

    String representation of VR

    DicomVR result

    VR code

    Returns
    Type Description
    Boolean

    true if VR was successfully parsed, false otherwise

    ValidateString(String)

    validates a string content. Throws Dicom

    Declaration
    public void ValidateString(string content)
    Parameters
    Type Name Description
    String content
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors