Share via


MediaTypeFormatter.MediaTypeMappings Property

 

Gets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types.

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

Syntax

public Collection<MediaTypeMapping> MediaTypeMappings {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property Collection<MediaTypeMapping^>^ MediaTypeMappings {
    [CompilerGeneratedAttribute]
    Collection<MediaTypeMapping^>^ get();
    [CompilerGeneratedAttribute]
    private: void set(Collection<MediaTypeMapping^>^ value);
}
member MediaTypeMappings : Collection<MediaTypeMapping> with get, private set
Public Property MediaTypeMappings As Collection(Of MediaTypeMapping)
    Get
    Private Set
End Property

Property Value

Type: System.Collections.ObjectModel.Collection<MediaTypeMapping>

The MediaTypeMapping collection.

See Also

MediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top