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
'Declaration
Public ReadOnly Property Formatter As MediaTypeFormatter
Get
'Usage
Dim instance As ObjectContent
Dim value As MediaTypeFormatter
value = instance.Formatter
public MediaTypeFormatter Formatter { get; }
public:
property MediaTypeFormatter^ Formatter {
MediaTypeFormatter^ get ();
}
member Formatter : MediaTypeFormatter
function get Formatter () : MediaTypeFormatter
Property Value
Type: System.Net.Http.Formatting.MediaTypeFormatter
The MediaTypeFormatter.