Partager via


SPFieldRatingScale Class

The SPFieldRatingScale class represents a rating scale field used in surveys.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldMultiChoice

         Microsoft.SharePoint.SPFieldRatingScale

Public Properties

The following table shows the public properties of the SPFieldRatingScale class, the data type of each property, and a brief description of each.

Name Data Type Description
Filterable Boolean Gets a Boolean value that indicates whether the rating-scale field can be filtered.
GridEndNumber Int32 Gets or sets the end number for the rating scale.
GridNAOptionText String Gets or sets the text to display for the not applicable (N/A) option.
GridStartNumber Int32 Gets or sets the start number for the rating scale.
GridTextRangeAverage String Gets or sets the text to display for average ratings.
GridTextRangeHigh String Gets or sets the text to display for high ratings.
GridTextRangeLow String Gets or sets the text to display for low ratings.
Sortable Boolean Gets a Boolean value that indicates whether the rating-scale field can be sorted.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

Setting properties of the SPFieldRatingScale class requires that the Update method be called for changes to take effect in the database.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security