SPFieldRatingScale 类

代表在调查中使用的评估范围字段。

继承层次结构

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldMultiChoice
      Microsoft.SharePoint.SPFieldRatingScale

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Class SPFieldRatingScale _
    Inherits SPFieldMultiChoice
用法
Dim instance As SPFieldRatingScale
public class SPFieldRatingScale : SPFieldMultiChoice

备注

如果设置SPFieldRatingScale类属性必须调用更改才能生效数据库中的Update方法。

The field value for the SPFieldRatingScale class is contained in the SPFieldRatingScaleValue class. For information about creating custom field value classes, see Custom Field Value Classes.

可以通过RatingScaleField服务器控件呈现SPFieldRatingScale对象。

SPFieldRatingScale类对应于通过Field元素的Type属性指定的GridChoice数据类型。

针对继承者的注释

在SharePoint Foundation,基于自定义字段类型的列是在数据表视图中是只读的。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPFieldRatingScale 成员

Microsoft.SharePoint 命名空间