共用方式為


ListItemDocType Simple Type (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies the document type of a specified list item.


<xs:simpleType name="ListItemDocType">
   <xs:restriction base="xs:string">
      <xs:enumeration value="File" />
      <xs:enumeration value="Folder" />
      <xs:enumeration value="Unknown" />
   </xs:restriction>
</xs:simpleType>

Enumeration Values

Value

Description

File

Specifies a list item object of type file.

Folder

Specifies a list item object of type folder.

Unknown

Indicates that a list item object is of unknown type.

Remarks

Objects of type Unknown are typically Web object types. This enumeration provides values for the DocType attribute on the ListItem Element (DeploymentManifest - SPGenericObject).

See Also

Reference

ListItem Element (DeploymentManifest - SPGenericObject)

Concepts

DeploymentManifest Schema