ODataMessageWriterSettings.SetContentType Method
Include Protected Members
Include Inherited Members
Sets the format to be used when writing the payload. This will automatically set a compatible content type header.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
![]() |
SetContentType(ODataFormat) | Sets the format to be used when writing the payload. This will automatically set a compatible content type header. |
![]() |
SetContentType(String, String) | Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. |
Top