Share via


ContentRestrictionsBrowsePolicy.MaxBrowsableAgeRating Property

Definition

Gets the maximum allowed age rating level to show in a content catalog. No content rated above this level should be displayed. For example, if the MaxBrowsableAgeRating is 13, MPAA:R rated movies should not be displayed.

public:
 property IReference<unsigned int> ^ MaxBrowsableAgeRating { IReference<unsigned int> ^ get(); };
IReference<uint32_t> MaxBrowsableAgeRating();
public System.Nullable<uint> MaxBrowsableAgeRating { get; }
var iReference = contentRestrictionsBrowsePolicy.maxBrowsableAgeRating;
Public ReadOnly Property MaxBrowsableAgeRating As Nullable(Of UInteger)

Property Value

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

An integer, that represents an age.

Remarks

If user doesn’t have any content restrictions enforced by Family Safety, the return value is NULL. The app is still expected to call RequestContentAccessAsync for every piece of content a user is trying to use.

Applies to