Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.