Export (0) Print
Expand All

SPFieldMultiColumn Class

Represents a multicolumn field type.

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

[SubsetCallableTypeAttribute]
public abstract class SPFieldMultiColumn : SPField

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft