获取或设置的基类型的列表。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property BaseType As String
Get
Set
用法
Dim instance As SPMobileList
Dim value As String
value = instance.BaseType
instance.BaseType = value
public string BaseType { get; set; }
属性值
类型:System.String
一个指定列表基类型的字符串。
备注
虽然该属性是 String 类型,您必须使用的字符串表示形式的名称或基类型的编号 SPBaseType 枚举中所示。 可能值显示在下表中。"GenericList""0""DocumentLibrary""1""DiscussionBoard""3""调查""4""问题""5"如果出于任何原因未指定的基类型,BaseType 属性可以是"UnspecifiedBaseType"或"-1"。"2"中不使用 3.0.You 不能创建自定义列表基类型因为这样做因此需要修改全局 Onet.xml 文件,这不受支持的 Windows SharePoint Services。但是,将为这样仍没有实际指向。您可以创建自定义列表定义和模板。请参阅如何: 创建自定义列表定义。