Package.PublisherDisplayName Property

Definition

Gets the publisher display name of the package.

public:
 property Platform::String ^ PublisherDisplayName { Platform::String ^ get(); };
winrt::hstring PublisherDisplayName();
public string PublisherDisplayName { get; }
var string = package.publisherDisplayName;
Public ReadOnly Property PublisherDisplayName As String

Property Value

String

Platform::String

winrt::hstring

The publisher display name.

Remarks

On operating systems earlier than 10.0.19041.0, you must call this property on the package returned by Package.Current, otherwise PublisherDisplayName will return an empty string.

Applies to

See also