SPWebApplication.BrowserFileHandling property

Gets or sets a value that controls how files are treated in the browser.

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


Public Property BrowserFileHandling As SPBrowserFileHandling
Dim instance As SPWebApplication
Dim value As SPBrowserFileHandling

value = instance.BrowserFileHandling

instance.BrowserFileHandling = value
public SPBrowserFileHandling BrowserFileHandling { get; set; }

Property value

Type: Microsoft.SharePoint.SPBrowserFileHandling
A value that determines how files are treated in the browser. Strict specifies that MIME content types which are not listed in AllowedInlineDownloadedMimeTypes are forced to bedownloaded. Permissive specifies that the HTML and other content types which might contain script are allowed to be displayed directly in the browser.

See also


SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace