SPMobileList.BaseType Property
Gets or sets the base type of a list.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Although the property is type String, you must use a string representation of the name or the number of the base type as it appears in the SPBaseType enumeration. The possible values are shown in the following table.
|
"GenericList" |
"0" |
|
"DocumentLibrary" |
"1" |
|
"DiscussionBoard" |
"3" |
|
"Survey" |
"4" |
|
"Issue" |
"5" |
If, for any reason, the base type is not specified, the BaseType property can be either "UnspecifiedBaseType" or "-1".
"2" is not used in SharePoint Foundation.
You cannot create custom list base types because doing so would require modifying the global Onet.xml file, which is not supported. However, there would be no real point to doing so anyway. You can create custom list definitions and templates. See How to: Create a Custom List Definition.