Class VCardName
A structured name, the value of the N property (RFC 6350 §6.2.2,
RFC 2426 §3.1.1). The components are separated by semicolons in the serialized
form: FamilyName;GivenName;AdditionalNames;HonorificPrefixes;HonorificSuffixes.
Inherited Members
Namespace: DRIT.Mail.Rfc.VCard
Assembly: DRIT.Mail.dll
Syntax
public sealed class VCardName
Constructors
View SourceVCardName(string?, string?, string?, string?, string?)
Initializes a new instance of the VCardName class.
Declaration
public VCardName(string? familyName, string? givenName, string? additionalNames, string? honorificPrefixes, string? honorificSuffixes)
Parameters
| Type | Name | Description |
|---|---|---|
| string | familyName | |
| string | givenName | |
| string | additionalNames | |
| string | honorificPrefixes | |
| string | honorificSuffixes |
Properties
View SourceAdditionalNames
Gets the additional (middle) names, or null if not specified.
Declaration
public string? AdditionalNames { get; }
Property Value
| Type | Description |
|---|---|
| string |
FamilyName
Gets the family (last) name, or null if not specified.
Declaration
public string? FamilyName { get; }
Property Value
| Type | Description |
|---|---|
| string |
GivenName
Gets the given (first) name, or null if not specified.
Declaration
public string? GivenName { get; }
Property Value
| Type | Description |
|---|---|
| string |
HonorificPrefixes
Gets the honorific prefixes (e.g. Dr.), or null if not specified.
Declaration
public string? HonorificPrefixes { get; }
Property Value
| Type | Description |
|---|---|
| string |
HonorificSuffixes
Gets the honorific suffixes (e.g. Jr.), or null if not specified.
Declaration
public string? HonorificSuffixes { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Processes the to string data.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |