ObjectContent.Formatter Property

 

Gets the media-type formatter associated with this content instance.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public MediaTypeFormatter Formatter { get; }
public:
property MediaTypeFormatter^ Formatter {
    MediaTypeFormatter^ get();
}
member Formatter : MediaTypeFormatter with get
Public ReadOnly Property Formatter As MediaTypeFormatter

Property Value

Type: System.Net.Http.Formatting.MediaTypeFormatter

The media type formatter associated with this content instance.

See Also

ObjectContent Class
System.Net.Http Namespace

Return to top