SPListItem.CopyFieldMask property

Gets a field mask for a copied item.

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

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

value = instance.CopyFieldMask

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: