다음을 통해 공유


SPFieldMultiColumn Class

Represents a multicolumn field type.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldMultiColumn

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public MustInherit Class SPFieldMultiColumn _
    Inherits SPField
'Usage
Dim instance As SPFieldMultiColumn
[SubsetCallableTypeAttribute]
public abstract class SPFieldMultiColumn : SPField

Remarks

An SPFieldMulitColumn object emulates a field that contains multiple values. In actuality, the class contains a single string value, in which the values of the various "columns" are separated by special delimiter characters.

Data for SPFieldMultiColumn fields is stored in the content database as a non-sortable SQL data type. For that reason, columns based on the SPFieldMultiColumn field type or on custom field types derived from it are not sortable.

Notes to Inheritors

In SharePoint Foundation, columns based on custom field types are read-only in Datasheet view.

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.

See Also

Reference

SPFieldMultiColumn Members

Microsoft.SharePoint Namespace