Class DicomPersonName
Person Name (PN)
Inheritance
System.Object
DicomPersonName
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FellowOakDicom
Assembly: fo-dicom.core.dll
Syntax
public sealed class DicomPersonName : DicomMultiStringElement, IComparable<DicomItem>, IComparable
Constructors
DicomPersonName(DicomTag, String, String, String, String, String)
Declaration
public DicomPersonName(DicomTag tag, string Last, string First, string Middle = null, string Prefix = null, string Suffix = null)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | |
System.String | Last | |
System.String | First | |
System.String | Middle | |
System.String | Prefix | |
System.String | Suffix |
DicomPersonName(DicomTag, String[])
Declaration
public DicomPersonName(DicomTag tag, params string[] values)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | |
System.String[] | values |
DicomPersonName(DicomTag, Encoding[], IByteBuffer)
Declaration
public DicomPersonName(DicomTag tag, Encoding[] encodings, IByteBuffer data)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | |
System.Text.Encoding[] | encodings | |
IByteBuffer | data |
Properties
First
Given name or empty string.
Declaration
public string First { get; }
Property Value
Type | Description |
---|---|
System.String |
Last
Family name or empty string.
Declaration
public string Last { get; }
Property Value
Type | Description |
---|---|
System.String |
Middle
Middle name or empty string.
Declaration
public string Middle { get; }
Property Value
Type | Description |
---|---|
System.String |
Prefix
Name prefix or empty string.
Declaration
public string Prefix { get; }
Property Value
Type | Description |
---|---|
System.String |
Suffix
Name suffix or empty string.
Declaration
public string Suffix { get; }
Property Value
Type | Description |
---|---|
System.String |
ValueRepresentation
Declaration
public override DicomVR ValueRepresentation { get; }
Property Value
Type | Description |
---|---|
DicomVR |
Overrides
Methods
HaveSameContent(DicomPersonName, DicomPersonName)
Declaration
public static bool HaveSameContent(DicomPersonName nameA, DicomPersonName nameB)
Parameters
Type | Name | Description |
---|---|---|
DicomPersonName | nameA | |
DicomPersonName | nameB |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IComparable<T>
System.IComparable