Condividi tramite


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

Syntax

'Declaration
Public ReadOnly Property AllowedInlineDownloadedMimeTypes As ICollection(Of String)
    Get
'Usage
Dim instance As SPWebApplication
Dim value As ICollection(Of String)

value = instance.AllowedInlineDownloadedMimeTypes
public ICollection<string> AllowedInlineDownloadedMimeTypes { get; }

Property Value

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

Remarks

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

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace