Share via


Field.CanBeDeleted property

Gets a value that specifies whether the field can be deleted.

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

Syntax

'Declaration
Public ReadOnly Property CanBeDeleted As Boolean
    Get
'Usage
Dim instance As Field
Dim value As Boolean

value = instance.CanBeDeleted
public bool CanBeDeleted { get; }

Property value

Type: System.Boolean
Returns Booleantrue if the field can be deleted; otherwise, returns false.

Remarks

This property returns the value of the AllowDeletion property if it has a value. If AllowDeletion does not have a value, CanBeDeleted returns false if either the FromBaseType property or the Sealed property return true.

See also

Reference

Field class

Field members

Microsoft.SharePoint.Client namespace