This documentation is archived and is not being maintained.

SPUtility.GetAcceptHeaderExtensions Method

Windows SharePoint Services 3

Returns the set of accept headers associated with file extensions defined in the configuration file for a site.

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

public static string[] GetAcceptHeaderExtensions(
	SPWeb web
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.

Return Value

Type: []
A string array that contains the accept headers for the site.
Show: