XmlMediaTypeFormatter Properties

The XmlMediaTypeFormatter type exposes the following members.

  Name Description
Public property Static member DefaultMediaType Gets the default media type for the XML formatter.
Public property Indent Gets or sets a value indicating whether to indent elements when writing data.
Public property MaxDepth Gets and sets the maximum nested node depth.
Public property MediaTypeMappings Gets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types. (Inherited from MediaTypeFormatter.)
Public property RequiredMemberSelector Gets or sets the IRequiredMemberSelector instance used to determine required members. (Inherited from MediaTypeFormatter.)
Public property SupportedEncodings Gets the mutable collection of character encodings supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.)
Public property SupportedMediaTypes Gets the mutable collection of media types supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.)
Public property UseXmlSerializer Gets or sets a value indicating whether the XML formatter uses the XmlSerializer as the default serializer, instead of using the DataContractSerializer.
Top
Show: