Package.DisplayName Package.DisplayName Package.DisplayName Package.DisplayName Package.DisplayName Property

Definition

Gets the display name of the package.

public : Platform::String DisplayName { get; }
winrt::hstring DisplayName();
public string DisplayName { get; }
Public ReadOnly Property DisplayName As string
var string = package.displayName;

Property Value

string string string

The display name.

Remarks

Important

This property is only supported for UWP app. If you call this property on an instance of a package that was created by any mechanism other than Package.Current, this property returns an empty string ("").

See also