Поделиться через


Свойство Field.FromBaseType

Gets a Boolean value that indicates whether the field derives from a base field type.

Пространство имен:  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 FromBaseType As Boolean
    Get
'Применение
Dim instance As Field
Dim value As Boolean

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

Значение свойства

Тип: System.Boolean
Returns Booleantrue if the field derives from a base field type; otherwise, returns false.

Замечания

The base field types are defined in FLDTYPES.XML, which defines the default schema for lists. Every built-in list in a site inherits its schema from a base type. If the FromBaseType property returns true, the field cannot be converted to another field type, nor can it be deleted.

Совет

If you want to prevent a field from being modified or deleted, set the Sealed property to true.

См. также

Справочные материалы

Field класс

Элементы Field

Пространство имен Microsoft.SharePoint.Client