Selerix Developer Tools
ComposeFullName(Boolean,String,String,String,String,String,String) Method






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Person Class > ComposeFullName Method : ComposeFullName(Boolean,String,String,String,String,String,String) Method
Select format of full names
full name for common using (i.e. trust fund)
first name
last name
middle initials
suffix name
default name for empty name
If exist name then result is it. Else concatenate all part of name according lastNameFirst switch. If middleInit is one from _MiddleNameExceptionList, Use state "no middle name" If name or firstName and lastName are absent then result is defaultName
Syntax
'Declaration
 
Public Overloads Shared Function ComposeFullName( _
   ByVal lastNameFirst As Boolean, _
   ByVal name As String, _
   ByVal firstName As String, _
   ByVal lastName As String, _
   ByVal middleInit As String, _
   ByVal suffixName As String, _
   Optional ByVal defaultName As String _
) As String
'Usage
 
Dim lastNameFirst As Boolean
Dim name As String
Dim firstName As String
Dim lastName As String
Dim middleInit As String
Dim suffixName As String
Dim defaultName As String
Dim value As String
 
value = Person.ComposeFullName(lastNameFirst, name, firstName, lastName, middleInit, suffixName, defaultName)
public static function ComposeFullName( 
   lastNameFirst : boolean,
   name : String,
   firstName : String,
   lastName : String,
   middleInit : String,
   suffixName : String,
   defaultName : String
) : String;

Parameters

lastNameFirst
Select format of full names
name
full name for common using (i.e. trust fund)
firstName
first name
lastName
last name
middleInit
middle initials
suffixName
suffix name
defaultName
default name for empty name

Return Value

full name
See Also

Reference

Person Class
Person Members
Overload List