Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Shell Properties
System
 System.Rating
System.Rating
A rating system that uses integer values between 0 and 99. This is the rating system used by the Windows Vista Shell.

  • propertyDescription

  • name = System.Rating
    shellPKey = PKEY_Rating
    formatID = 64440492-4C8B-11D1-8B70-080036B11A03
    propID = 9
    • searchInfo

    • inInvertedIndex = false
      isColumn = true
      isColumnSparse = true
      columnIndexType = OnDisk
      maxSize = 128
    • labelInfo

    • label = Rating
      sortDescription = LowestHighest
      invitationText
      hideLabel = false
    • typeInfo

    • type = UInt32
      groupingRange = Discrete
      isInnate = false
      canBePurged
      multipleValues = false
      isGroup = false
      aggregationType = Average
      isTreeProperty = false
      isViewable = true
      isQueryable = true
      includeInFullTextQuery = false
      conditionType = String
      defaultOperation = Equal
    • aliasInfo

    • sortByAlias = None
      additionalSortByAliases = None
    • displayInfo

    • defaultColumnWidth = 12
      displayType = Enumerated
      alignment = Left
      relativeDescriptionType = General
      defaultSortDirection = Ascending
      • stringFormat

      • formatAs = General
      • booleanFormat

      • formatAs = YesNo
      • numberFormat

      • formatAs = General
        formatDurationAs = hh:mm:ss
      • dateTimeFormat

      • formatAs = General
        formatTimeAs = ShortTime
        formatDateAs = ShortDate
      • enumeratedList

      • defaultText = Unrated
        useValueForDefault = False
        • enum

        • value
          text
        • enumRange

        • minValue = 100
          setValue = 99
          text = 5 Stars
      • drawControl

      • control = Rating
      • editControl

      • control = Rating
      • filterControl

      • control = Default
      • queryControl

      • control = Rating

Remarks

PKEY values are defined in Propkey.h.

For compatibility with ratings systems that use values between 0 and 5, see the property System.SimpleRating. Note, however, that System.SimpleRating is not used in the Windows Vista Shell.

The following table describes what the star rating system used in the Shell user interface (UI) means in terms of the System.Rating value.

System.RatingStar Rating
0Unrated
1-121 Star
13-372 Stars
38-623 Stars
63-874 Stars
88-995 Stars

When a user rates an item by choosing a star rating value in the UI, actual System.Rating values are assigned as shown in this table:

Star RatingValue Assigned Through UI
UnratedN/A
1 Star1
2 Stars25
3 Stars50
4 Stars75
5 Stars99

If your file has a System.SimpleRating value rather than a System.Rating value, use the table below to convert and specify values for System.Rating.

System.SimpleRatingSystem.Rating
00
11
225
350
475
599

If your file has both System.Rating and System.SimpleRating persisted values, always use the System.Rating value when it is directly requested, without reference to System.SimpleRating.

Related Topics

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker