共用方式為


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)
Available in Sandboxed Solutions: No

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