Share via


SPListItem.CopyFieldMask property

Gets a field mask for a copied item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property CopyFieldMask As SPCopyFieldMask
    Get
'Usage
Dim instance As SPListItem
Dim value As SPCopyFieldMask

value = instance.CopyFieldMask
public SPCopyFieldMask CopyFieldMask { get; }

Property value

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

Remarks

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.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace