SPMobileList.BaseType, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets or sets the base type of a list.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public string BaseType { get; set; }

Valeur de la propriété

A String that specifies the base type of the list.

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.











If, for any reason, the base type is not specified, the BaseType property can be either "UnspecifiedBaseType" or "-1".

"2" is not used in Windows SharePoint Services 3.0.

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 Procédure : créer une définition de liste personnalisée.