共用方式為


SP.BaseType Enumeration

Applies to: SharePoint Foundation 2010

Specifies the base type for a list.

Values

Name

Description

none

No base type is specified. The value = -1.

genericList

Enumeration whose values specify a base type for lists that do not correspond to another base type in this enumeration. The value =.0.

documentLibrary

Enumeration whose values specify a base type for a document library. The value = 1.

unused

Reserved must not be used. The value = 2.

discussionBoard

Enumeration whose values specify a base type that should not be used, but may be used for a discussion board. The value = 3.

survey

Enumeration whose values specify a base type for a survey list. The value = 4.

issue

Enumeration whose values specify a base type for an issue tracking list. The value = 5.

Remarks

A list has one specified base type, which is one of the following:

Base Type Name

Value

Generic List

0

Document Library

1

Discussion Board

3

Survey

4

Issue

5

An implementation should not have a list with a base type of 3.

See Also

Reference

SP Namespace