共用方式為


SPWebApplication.WebFileExtensions Property

Gets the file extensions to identify Web files.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.WebFileExtensions
public Collection<string> WebFileExtensions { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<String>
Collection<T>
The file extensions.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace