Share via


RatedContentDescription.Id Property

Definition

The unique content ID of a piece of content, in the app's content catalog.

public:
 property Platform::String ^ Id { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Id();

void Id(winrt::hstring value);
public string Id { get; set; }
var string = ratedContentDescription.id;
ratedContentDescription.id = string;
Public Property Id As String

Property Value

String

Platform::String

winrt::hstring

The ID of the content as a string.

Remarks

The ID must be a length between 1 and 100 characters, and can't be empty or contain only spaces.

Returns E_INVALIDARG, if an invalid value is provided.

Applies to