openDICOM.NET API Reference (openDICOM# Class Library)

ValueRepresentation.GetBy Method (String, Tag)

Returns a new value representation instance specified by the defined string representation and registered by the defined tag.

public static ValueRepresentation GetBy(
   string name,
   Tag tag
);

Parameters

name
DICOM string value representation of format "VR". If 'name' is not a known DICOM VR, an undefined VR will be returned.
tag
DICOM tag.

Return Value

New specific DICOM VR or a new unspecific VR.

See Also

ValueRepresentation Class | openDicom.DataStructure Namespace | ValueRepresentation.GetBy Overload List