Compartilhar via


ByExtension Element (Document Icons)

Applies to: SharePoint Foundation 2010

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.