Compartilhar via


MediaTypeFormatterCollection.XmlFormatter Property

Gets the MediaTypeFormatter to use for XML.

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

Syntax

'Declaration
Public ReadOnly Property XmlFormatter As XmlMediaTypeFormatter
    Get
'Usage
Dim instance As MediaTypeFormatterCollection
Dim value As XmlMediaTypeFormatter

value = instance.XmlFormatter
public XmlMediaTypeFormatter XmlFormatter { get; }
public:
property XmlMediaTypeFormatter^ XmlFormatter {
    XmlMediaTypeFormatter^ get ();
}
member XmlFormatter : XmlMediaTypeFormatter
function get XmlFormatter () : XmlMediaTypeFormatter

Property Value

Type: System.Net.Http.Formatting.XmlMediaTypeFormatter
The MediaTypeFormatter to use for XML.

See Also

Reference

MediaTypeFormatterCollection Class

System.Net.Http.Formatting Namespace