Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.Data.OData
  3. ODataMessageWriterSettings
  4. SetContentType(ODataFormat)
  • ODataMessageWriterSettings
    • ODataMessageWriterSettings()
    • ODataMessageWriterSettings(ODataMessageWriterSettings)
    • AutoComputePayloadMetadataInJson
    • AutoGeneratedUrlsShouldPutKeyValueInDedicatedSegment
    • BaseUri
    • DisableMessageStreamDisposal
    • JsonPCallback
    • UndeclaredPropertyBehaviorKinds
    • Version
    • ContainUndeclaredPropertyBehavior(ODataUndeclaredPropertyBehaviorKinds)
    • EnableDefaultBehavior()
    • EnableWcfDataServicesClientBehavior(Func<ODataEntry, XmlWriter, XmlWriter>, Action<ODataEntry, XmlWriter, XmlWriter>, String, String)
    • EnableWcfDataServicesServerBehavior(Boolean)
    • EnableWcfDataServicesServerBehavior(Boolean, Boolean)
    • SetAtomEntryXmlCustomization(Func<ODataEntry, XmlWriter, XmlWriter>, Action<ODataEntry, XmlWriter, XmlWriter>)
    • SetContentType(ODataFormat)
    • SetContentType(String, String)
    • SetMetadataDocumentUri(Uri)
    • SetMetadataDocumentUri(Uri, String)
netcoreapp2.2
namespace Microsoft.Data.OData
{
    public sealed class ODataMessageWriterSettings : ODataMessageWriterSettingsBase
    {
        public void SetContentType(ODataFormat payloadFormat);
    }
}
Upgrade Planner
0.0 %
Reference this API
.NET Core
2.02.12.2
Information specific to netcoreapp2.2
Assembly

Microsoft.Data.OData , Version=5.8.4.0, PublicKeyToken=31bf3856ad364e35

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/13/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙