RatedContentDescription(String, String, RatedContentCategory) Constructor
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.
Initializes a new instance of the RatedContentDescription class.
public:
RatedContentDescription(Platform::String ^ id, Platform::String ^ title, RatedContentCategory category);
RatedContentDescription(winrt::hstring const& id, winrt::hstring const& title, RatedContentCategory const& category);
public RatedContentDescription(string id, string title, RatedContentCategory category);
function RatedContentDescription(id, title, category)
Public Sub New (id As String, title As String, category As RatedContentCategory)
Parameters
- id
-
String
Platform::String
winrt::hstring
The ID of the content, as specified by the app developer.
- title
-
String
Platform::String
winrt::hstring
The title of the content.
- category
- RatedContentCategory
Specifies the type of a piece of content, defined by RatedContentCategory.
Remarks
Returns E_INVALIDARG, if an invalid value is provided.