The FormatInfo type exposes the following members.

Constructors

  NameDescription
Public methodFormatInfo
Initializes a new instance of the FormatInfo class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the string representation of this object
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyDefaultExtension
The default file extension to use for this results format
Public propertyEncoding
The encoding to be used when streaming the result
Public propertyMediaTypes
Get the list of media types that are recognized for this results format
Public propertySerializedModel
Returns the model(s) that the format can be used to serialize

See Also