CopyFieldMask Property

SPListItem.CopyFieldMask Property

Gets a field mask for a copied item.

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

public SPCopyFieldMask CopyFieldMask { get; }

Property Value

Type: Microsoft.SharePoint.SPCopyFieldMask
An SPCopyFieldMask object that represents the field mask.

The SPCopyFieldMask object is used during copy operations. If a field is included in the SPCopyFieldMask object of the destination item, the value of the source item for that field is not written into the destination item. If a field is included in the SPCopyFieldMask object, it is protected from being overwritten by copy operations.

Show:
© 2016 Microsoft