共用方式為


SPWebApplication.WebFileExtensions property

取得來識別 Web 檔案的副檔名。

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

Syntax

'宣告
Public ReadOnly Property WebFileExtensions As Collection(Of String)
    Get
'用途
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>
副檔名。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace