Delen via


ODataMessageExtensions.PreferenceAppliedHeader(IODataResponseMessage) Method

Definition

Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage.

public static Microsoft.OData.ODataPreferenceHeader PreferenceAppliedHeader (this Microsoft.OData.IODataResponseMessage responseMessage);
static member PreferenceAppliedHeader : Microsoft.OData.IODataResponseMessage -> Microsoft.OData.ODataPreferenceHeader
<Extension()>
Public Function PreferenceAppliedHeader (responseMessage As IODataResponseMessage) As ODataPreferenceHeader

Parameters

responseMessage
IODataResponseMessage

The response message to get or set the "Preference-Applied" header.

Returns

Returns the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage.

Applies to