共用方式為


SPUtility.GetAcceptHeaderExtensions method

會傳回一組接受站台的設定檔中所定義的副檔名相關聯的標頭。

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

Syntax

'宣告
Public Shared Function GetAcceptHeaderExtensions ( _
    web As SPWeb _
) As String()
'用途
Dim web As SPWeb
Dim returnValue As String()

returnValue = SPUtility.GetAcceptHeaderExtensions(web)
public static string[] GetAcceptHeaderExtensions(
    SPWeb web
)

參數

傳回值

Type: []
字串陣列,包含網站接受標頭。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace