RatedContentDescription.Ratings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides all existing third-party and Microsoft Store age ratings for a piece of content.
public:
property IVector<Platform::String ^> ^ Ratings { IVector<Platform::String ^> ^ get(); void set(IVector<Platform::String ^> ^ value); };
IVector<winrt::hstring> Ratings();
void Ratings(IVector<winrt::hstring> value);
public IList<string> Ratings { get; set; }
var iVector = ratedContentDescription.ratings;
ratedContentDescription.ratings = iVector;
Public Property Ratings As IList(Of String)
Property Value
Specifies the age rating, for a piece of content.
Remarks
If a piece of content doesn’t have neither a third-party rating nor a Store age rating, the app must pass NULL as the rating. If NULL rating is provided, the RequestContentAccessAsync method will display a Content blocked by Family Safety dialog, with options to request a parental override.
Family Safety uses the ContentRestrictionBrowsePolicy.GeographicRegion and RatedContentDescription.Category properties, to determine the appropriate rating system for a piece of content. If contain a rating value in this rating system, then it’s used as the content rating. If don’t contain value in this rating system, the Store age rating value is used. If it’s not available, the content is considered Not rated, for the Family Safety content settings region, and RequestContentAccessAsync method will display a Content blocked by Family Safety dialog, with options to request a parental override. For more info, see Using content ratings.