Class PersonName
Namespace: Aspose.Medical.Dicom.Elements
Assembly: Aspose.Medical.dll (25.11.0)
Encapsulates the Person Name (PN) VR type. A character string encoded using a 5 component convention. The character code 5CH (the BACKSLASH “" in ISO-IR 6) shall not be present, as it is used as the delimiter between Values in multivalued Data Elements. The string may be padded with trailing spaces. For human use, the five components in their order of occurrence are:
- family name complex,- given name complex,- middle name,- name prefix,- name suffix.https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=PN-,Person%20Name,-A%20character%20string.public sealed class PersonName : EncodableMultiValuedTextElement, IElementInheritance
object ← TextElement ← MultiValueTextElement ← EncodableMultiValuedTextElement ← PersonName
Implements
Inherited Members
EncodableMultiValuedTextElement.SerializationEncodings , MultiValueTextElement.Add(string) , MultiValueTextElement.AddRange(IEnumerable<string>) , MultiValueTextElement.Get<t>(int) , MultiValueTextElement.Get<t>(Index) , MultiValueTextElement.GetOrDefault<t>(int) , MultiValueTextElement.GetOrDefault<t>(Index) , MultiValueTextElement.GetValues<t>() , MultiValueTextElement.GetValues<t>(Range) , MultiValueTextElement.Insert(int, string) , MultiValueTextElement.Remove(string) , MultiValueTextElement.RemoveAt(int) , MultiValueTextElement.Replace(IEnumerable<string>) , MultiValueTextElement.ToString() , MultiValueTextElement.TryGetValue<t>(int, out T?) , MultiValueTextElement.TryGetValue<t>(Index, out T?) , MultiValueTextElement.Data , MultiValueTextElement.Count , TextElement.Get<t>(int) , TextElement.Get<t>(Index) , TextElement.GetOrDefault<t>(int) , TextElement.GetOrDefault<t>(Index) , TextElement.GetValues<t>() , TextElement.GetValues<t>(Range) , TextElement.TryGetValue<t>(int, out T?) , TextElement.TryGetValue<t>(Index, out T?) , TextElement.Count , TextElement.Tag , TextElement.ValueRepresentation , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PersonName(Tag, Span<string>, Span<encoding>)
public PersonName(Tag tag, Span<string> data, Span<encoding> encodings)Parameters
tag Tag
encodings Span
<
Encoding
>
Exceptions
The provided data are invalid.
PersonName(Tag, Span<string>, Encoding)
public PersonName(Tag tag, Span<string> data, Encoding encoding)Parameters
tag Tag
encoding Encoding
Exceptions
The provided data are invalid.
PersonName(Tag, Span<string>)
public PersonName(Tag tag, Span<string> data)Parameters
tag Tag
Exceptions
The provided data are invalid.
Properties
FamilyName
Family name or empty string. Read-only System.String.
public string? FamilyName { get; }Property Value
string ?
GivenName
Given name or empty string. Read-only System.String.
public string? GivenName { get; }Property Value
string ?
MiddleName
Middle name or empty string. Read-only System.String.
public string? MiddleName { get; }Property Value
string ?
NamePrefix
Name prefix or empty string. Read-only System.String.
public string? NamePrefix { get; }Property Value
string ?
NameSuffix
Name suffix or empty string. Read-only System.String.
public string? NameSuffix { get; }Property Value
string ?
ValueRepresentation
The Value Representation of the element. Read-only Aspose.Medical.Dicom.Elements.IElement.ValueRepresentation.
public override ValueRepresentation ValueRepresentation { get; }Property Value
Methods
Accept(Walker)
Dispatches (delegates) a request to the accepted walker.
protected override void Accept(Walker walker)Parameters
walker Walker
A walker to be used for traversal and perform operations.
AcceptAsync(AsyncWalker)
Asynchronously dispatches (delegates) a request to the accepted walker.
protected override Task AcceptAsync(AsyncWalker walker)Parameters
walker AsyncWalker
A walker to be used for traversal and perform operations.
Returns
Task </string></string></encoding></string></t></t></t></t></t></t></t></t></t></t></string></t></t></t></t></t></t></string>