Share via


ODataPreferenceHeader.Clear(String) Method

Definition

Clears the preference from the "Prefer" header on the underlying IODataRequestMessage or the "Preference-Applied" header on the underlying IODataResponseMessage.

protected void Clear (string preference);
member this.Clear : string -> unit
Protected Sub Clear (preference As String)

Parameters

preference
String

The preference to clear.

Applies to