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
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb物件,代表該網站。
傳回值
Type: []
字串陣列,包含網站接受標頭。