SPFieldUser class
代表使用者欄位。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldLookup
Microsoft.SharePoint.SPFieldUser
Microsoft.SharePoint.Applications.GroupBoard.SPFieldCallTo
Microsoft.SharePoint.Applications.GroupBoard.SPFieldSendTo
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Class SPFieldUser _
Inherits SPFieldLookup
'用途
Dim instance As SPFieldUser
public class SPFieldUser : SPFieldLookup
備註
如果您設定SPFieldUser類別的屬性,您必須呼叫變更才會生效,在資料庫中的Update方法。
SPFieldUser類別的欄位值被包含在SPFieldUserValue類別。如需有關建立自訂欄位值類別的資訊,請參閱Custom Field Value Classes。
SPFieldUser物件可以透過UserField伺服器控制項呈現。
SPFieldUser類別會對應到透過Type屬性的欄位項目指定的User資料型別。
Notes to inheritors
SharePoint Foundation,在自訂欄位類型為基礎的資料行是唯讀,在 [資料工作表檢視中。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.