ContentNegotiationResult.Formatter Property
The formatter chosen for serialization.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Property Formatter As MediaTypeFormatter
Get
Set
'Usage
Dim instance As ContentNegotiationResult
Dim value As MediaTypeFormatter
value = instance.Formatter
instance.Formatter = value
public MediaTypeFormatter Formatter { get; set; }
public:
property MediaTypeFormatter^ Formatter {
MediaTypeFormatter^ get ();
void set (MediaTypeFormatter^ value);
}
member Formatter : MediaTypeFormatter with get, set
function get Formatter () : MediaTypeFormatter
function set Formatter (value : MediaTypeFormatter)
Property Value
Type: System.Net.Http.Formatting.MediaTypeFormatter