Field.CanBeDeleted 屬性
取得值,指定是否可以刪除此欄位。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public ReadOnly Property CanBeDeleted As Boolean
Get
'用途
Dim instance As Field
Dim value As Boolean
value = instance.CanBeDeleted
public bool CanBeDeleted { get; }
屬性值
類型:System.Boolean
傳回Booleantrue可以刪除該欄位。否則,傳回false。
備註
如果有一個值,這個屬性會傳回AllowDeletion屬性的值。如果AllowDeletion沒有值, CanBeDeleted傳回falseFromBaseType屬性或Sealed屬性傳回true。