Parse
ValueRepresentation.Parse method
Converts the string representation of a VR to its typed equivalent.
public static ValueRepresentation Parse(string vrCode)
| Parameter | Type | Description |
|---|---|---|
| vrCode | String | Two-character VR code. See valid codes in https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#table_6.2-1 (VR name column). |
Return Value
A ValueRepresentation equivalent to the VR specified in vrCode.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Invalid VR code. |
See Also
- class ValueRepresentation
- namespace Aspose.Medical.Dicom.ValueRepresentations
- assembly Aspose.Medical