SPFieldMultiChoice class
代表允許多重值選擇欄位。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldMultiChoice
Microsoft.SharePoint.SPFieldChoice
Microsoft.SharePoint.SPFieldRatingScale
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Class SPFieldMultiChoice _
Inherits SPField
'用途
Dim instance As SPFieldMultiChoice
public class SPFieldMultiChoice : SPField
備註
The field value for the SPFieldMultiChoice class is contained in the SPFieldMultiChoiceValue class. For information about creating custom field value classes, see Custom Field Value Classes.
如果您將SPFieldMultiChoice類別的屬性,您必須呼叫Update方法,變更才會生效的資料庫中。
SPFieldMultiChoice類別會對應至指定透過Type元素之屬性的欄位的MultiChoice資料類型。
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.