Share via


ParentalControlSetting.MaxAllowed Property

Gets a value that indicates the overall maximum content rating allowed.

Syntax

public int MaxAllowed {get;}

Property Value

System.Int32. The maximum rating. For more information, see the Remarks section.

This property is read-only.

Remarks

The meaning of this property value depends on the type of content being queried. For US TV content, this property is a number that maps to a TV content rating. It can be any of the following values:

Value TV rating
0 (default) unrated content
1 TV-Y
2 Y7
3 G
4 PG
5 14
6 MA

For movie or DVD content, this property is a number that maps to a Motion Picture Association of America (MPAA) content rating. It can be any of the following values:

Value MPAA
0 unrated content
1 G
2 not used
3 PG
4 PG-13
5 not used
6 R
7 NC-17
8 not used

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also