openDICOM.NET API Reference (openDICOM# Class Library)

Age Constructor

Creates a new age instance from specified age string of format "xxxM", where "xxx" is a decimal number, the age value, like "013" and "M", is the age context or measuring unit.

Overload List

Creates a new age instance from specified age value and context.

public Age(int,AgeContext);

Creates a new age instance from specified age value and context as single character. Only DICOM VR Age String (AS) measuring units are allowed (see AgeContext).

public Age(int,char);

Creates a new age instance from specified age string of format "xxxM", where "xxx" is a decimal number, the age value, like "013" and "M", is the age context or measuring unit.

public Age(string);

See Also

Age Class | openDicom.Encoding.Type Namespace