AllowedInlineDownloadedMimeTypes property
Collapse the table of content
Expand the table of content

SPWebApplication.AllowedInlineDownloadedMimeTypes property

Gets the MIME content-types that are not forced to be saved to the downloading user's local machine. Files withcontent-types that are not listed in this collection are assumed to contain script and therefore can interact with the application on the user'sbehalf.

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

public ICollection<string> AllowedInlineDownloadedMimeTypes { get; }

Property value

Type: System.Collections.Generic.ICollection<String>
The list of MIME content-types for this application which are allowed to be viewed without first saving to the user's localdrive.

This property is ignored when the BrowserFileHandling property is set to Permissive.

© 2015 Microsoft