IncomingWebRequestContext.GetAcceptHeaderElements Method ()

.NET Framework (current version)
 

Gets a collection of the Accept header elements.

Namespace:   System.ServiceModel.Web
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public Collection<ContentType> GetAcceptHeaderElements()

Return Value

Type: System.Collections.ObjectModel.Collection<ContentType>

A collection of the Accept header elements.

.NET Framework
Available since 4.0
Return to top
Show: