Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAcceptHeaderExtensions method
Collapse the table of content
Expand the table of content

SPUtility.GetAcceptHeaderExtensions method

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


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.
© 2015 Microsoft