表示一个用户字段。
继承层次结构
System.Object
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldLookup
Microsoft.SharePoint.SPFieldUser
Microsoft.SharePoint.Applications.GroupBoard.SPFieldCallTo
Microsoft.SharePoint.Applications.GroupBoard.SPFieldSendTo
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Class SPFieldUser _
Inherits SPFieldLookup
用法
Dim instance As SPFieldUser
public class SPFieldUser : SPFieldLookup
备注
如果您设置的SPFieldUser类的属性必须调用Update方法以更改将在数据库中生效。
在SPFieldUserValue类中包含的SPFieldUser类的字段值。有关创建自定义字段值类的信息,请参阅Custom Field Value Classes。
通过UserField的服务器控件,可以呈现一个SPFieldUser对象。
SPFieldUser类对应于通过Type属性的字段元素指定了User数据类型。
针对继承者的注释
在SharePoint Foundation,基于自定义字段类型的列是只读,在数据表视图中。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。