共用方式為


DocumentLibraryTemplate Element (List)

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.

Used in the wire protocol that the server uses to export list metadata to the SharePoint Designer client. This element specifies which file serves as the template document for a document library.

<DocumentLibraryTemplate>
</DocumentLibraryTemplate>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

Metadata

Occurrences

Minimum: 0

Maximum: 1

Example

The following example indicates that the document library whose schema is currently being retrieved has MyDocLib/Forms/template.htm as its template:

<List>
  <MetaData>
    ...
    <DocumentLibraryTemplate>MyDocLib/Forms/template.htm
    </DocumentLibraryTemplate>
    ...
  </MetaData>
</List>

See Also

Reference

DocumentTemplate Element (Site)

DocumentTemplates Element (Site)