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

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