共用方式為


ByExtension Element (Document Icons)

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.

Defines icons for documents according to their file name extensions.

<ByExtension>
</ByExtension>

Attributes

Attribute

Description

None

N/A

Child Elements

Mapping

Parent Elements

DocIcons

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

This element is used in the DocIcon.xml file to drive mapping between file extensions and their corresponding document library icons.

If you want the document library feature to support a new file extension, add the extension to a ByExtension section and then restart the server.

See DocIcons Element (Document Icons) for an example that shows how to use the ByExtension element.