次の方法で共有


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)

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