RatedContentRestrictions Constructors
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.
Overloads
RatedContentRestrictions() |
Initializes a new instance of the RatedContentRestrictions class. |
RatedContentRestrictions(UInt32) |
Initializes a new instance of the RatedContentRestrictions class, with the specified age rating the app uses, to restrict content usage. |
RatedContentRestrictions()
Initializes a new instance of the RatedContentRestrictions class.
public:
RatedContentRestrictions();
RatedContentRestrictions();
public RatedContentRestrictions();
function RatedContentRestrictions()
Public Sub New ()
See also
Applies to
RatedContentRestrictions(UInt32)
Initializes a new instance of the RatedContentRestrictions class, with the specified age rating the app uses, to restrict content usage.
public:
RatedContentRestrictions(unsigned int maxAgeRating);
RatedContentRestrictions(uint32_t const& maxAgeRating);
public RatedContentRestrictions(uint maxAgeRating);
function RatedContentRestrictions(maxAgeRating)
Public Sub New (maxAgeRating As UInteger)
Parameters
- maxAgeRating
-
UInt32
unsigned int
uint32_t
The max age rating.
Remarks
Restrictions are enforced based on the minimum user’s overall Family Safety age rating (expressed by PreferredAgeRating), and the app-specific age rating value used in this constructor.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for