Share via


AvatarUtils.ToInitials Method

Extracts the initials (first two) of a string. If no characters present in the string then an empty string is returned.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Function ToInitials ( _
    fullName As String _
) As String
public static string ToInitials(
    string fullName
)
public:
static String^ ToInitials(
    String^ fullName
)
static member ToInitials : 
        fullName:string -> string
public static function ToInitials(
    fullName : String
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

AvatarUtils Class

Microsoft.TeamFoundation.Framework.Server Namespace