Share via


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)

Syntax

'Declaration
Public Property BrowserFileHandling As SPBrowserFileHandling
    Get
    Set
'Usage
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
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

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace