次の方法で共有


SPWebApplication.MimeMappings property

Gets a collection of Multipurpose Internet Mail Extension (MIME) mapping overrides for files based onthe file extension and programmatic identifier (ProgId) of the files.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property MimeMappings As SPMimeMappingCollection
    Get
'Usage
Dim instance As SPWebApplication
Dim value As SPMimeMappingCollection

value = instance.MimeMappings
public SPMimeMappingCollection MimeMappings { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPMimeMappingCollection
SPMimeMappingCollection
MIME mapping overrides based on file extension and ProgId.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace