DataServiceRequestArgs.AcceptContentType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Accept header of the request message.
public string AcceptContentType { get; set; }
member this.AcceptContentType : string with get, set
Public Property AcceptContentType As String
Property Value
The value of the Accept header.
Remarks
Sets the mime type (ex. image/png) to be used when retrieving the stream. Note that no validation is done on the contents of this property. It is the responsibility of the user to format it correctly to be used as the value of an HTTP Accept header.