Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the base type for the list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableConstraintAttribute(FixedId := "a", Type := ClientCallableConstraintType.Custom, Value := "It MUST be one of the following values: GenericList, DocumentLibrary, DiscussionBoard, Survey, or Issue as specified in Microsoft.SharePoint.Client.BaseType (section x.x.x.x).")> _
<ClientCallableAttribute> _
Public ReadOnly Property BaseType As SPBaseType
Get
'Usage
Dim instance As SPList
Dim value As SPBaseType
value = instance.BaseType
[ClientCallableConstraintAttribute(FixedId = "a", Type = ClientCallableConstraintType.Custom, Value = "It MUST be one of the following values: GenericList, DocumentLibrary, DiscussionBoard, Survey, or Issue as specified in Microsoft.SharePoint.Client.BaseType (section x.x.x.x).")]
[ClientCallableAttribute]
public SPBaseType BaseType { get; }
Property Value
Type: Microsoft.SharePoint.SPBaseType
An SPBaseType value that specifies the base type.
Remarks
The base types for list templates are defined in the Onet.xml file of a site definition.