Generates the contact's full name from its component parts. Calculated from Prefix FirstName MiddleName LastName, Suffix, Designation Like: Mr. John C. Doe, Jr., DDS

Namespace:  Asi.iBO.ContactManagement
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public static string FormatFullName(
	string prefix,
	string firstName,
	string middleName,
	string lastName,
	string suffix,
	string designation
)
Visual Basic (Declaration)
Public Shared Function FormatFullName ( _
	prefix As String, _
	firstName As String, _
	middleName As String, _
	lastName As String, _
	suffix As String, _
	designation As String _
) As String
Visual C++
public:
static String^ FormatFullName(
	String^ prefix, 
	String^ firstName, 
	String^ middleName, 
	String^ lastName, 
	String^ suffix, 
	String^ designation
)

Parameters

prefix
Type: System..::.String
The prefix (personal title) to the customer's name. Like Mr., Mrs., etc.
firstName
Type: System..::.String
The first (or given) name of this contact, if a person.
middleName
Type: System..::.String
The middle name of the contact.
lastName
Type: System..::.String
The contacts last name, family name or surname.
suffix
Type: System..::.String
The suffix to the customer's name. Like Sr., Jr., etc.
designation
Type: System..::.String
The designation that follows the contact's name. Normally this is a certification, like CAE or academic title, like MD or DDS.

Return Value

The contact's full name as it would print on reports, letters, labels, etc.. In the format Prefix FirstName MiddleName LastName, Suffix, Designation. E.g., Mr. John C. Doe, Jr., PhD

See Also