'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 string ComposeFullName( bool lastNameFirst, string name, string firstName, string lastName, string middleInit, string suffixName, string defaultName )
public function ComposeFullName( lastNameFirst: Boolean; name: String; firstName: String; lastName: String; middleInit: String; suffixName: String; defaultName: String ): String; static;
public static function ComposeFullName( lastNameFirst : boolean, name : String, firstName : String, lastName : String, middleInit : String, suffixName : String, defaultName : String ) : String;
public: static string* ComposeFullName( bool lastNameFirst, string* name, string* firstName, string* lastName, string* middleInit, string* suffixName, string* defaultName )
public: static String^ ComposeFullName( bool lastNameFirst, String^ name, String^ firstName, String^ lastName, String^ middleInit, String^ suffixName, String^ defaultName )
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