SPField.FromBaseType Property

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

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

Syntax

Public ReadOnly Property FromBaseType As Boolean
    Get

Dim instance As SPField
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the field derives from a base field type; otherwise, false.

Remarks

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 this property contains true, the field cannot be converted to another field type.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace