Share via


PackageExtension.Id Property

Definition

The extension's instance identifier.

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = packageExtension.id;
Public ReadOnly Property Id As String

Property Value

String

Platform::String

winrt::hstring

A string containing the instance identifier.

Remarks

There may be multiple extensions within an extension group. The identifier distinguishes them from each other. For example, a category may contain both a test and shipping extension in the same category and they would have different identifiers so you can tell them apart.

Applies to