Share via


KnownUserProperties.LastName Property

Definition

Gets the user's last name.

public:
 static property Platform::String ^ LastName { Platform::String ^ get(); };
static winrt::hstring LastName();
public static string LastName { get; }
var string = KnownUserProperties.lastName;
Public Shared ReadOnly Property LastName As String

Property Value

String

Platform::String

winrt::hstring

The user's last name.

Applies to