Platform SDK: Broadcast Architecture

CRating

Each CRating object corresponds to a single record of the Rating table in the Guide database. These objects are created and initialized by CRatingRecordset objects.

The CRating class provides the following methods, which your application can use to set and retrieve the values of fields for a CRating object.

Method Description
SetRatingSystemID Sets the value of the R Rating System ID field.
SetRating Sets the value of the R Rating field.
SetDescription Sets the value of the R Description field.
SetPictogramMoniker     Sets the value of the R Pictogram Moniker field.
RatingID Retrieves the value of the R Rating ID field. This field is automatically generated and cannot be set.
RatingSystemID Retrieves the value of the R Rating System ID field.
Rating Retrieves the value of the R Rating field.
Description Retrieves the value of the R Description field.
PictogramMoniker Retrieves the value of the R Pictogram Moniker field.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in rating.h.
  Import Library: Use dbsets.lib or dbsetsst.lib.

See Also

CRatingRecordset, Rating table