MediaTypeFormatter.SupportedMediaTypes Property
Gets the mutable collection of media types supported bythis MediaTypeFormatter.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public Collection<MediaTypeHeaderValue> SupportedMediaTypes {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
private set;
}
public:
property Collection<MediaTypeHeaderValue^>^ SupportedMediaTypes {
[CompilerGeneratedAttribute]
Collection<MediaTypeHeaderValue^>^ get();
[CompilerGeneratedAttribute]
private: void set(Collection<MediaTypeHeaderValue^>^ value);
}
member SupportedMediaTypes : Collection<MediaTypeHeaderValue> with get, private set
Public Property SupportedMediaTypes As Collection(Of MediaTypeHeaderValue)
Get
Private Set
End Property
Property Value
Type: System.Collections.ObjectModel.Collection<MediaTypeHeaderValue>
The collection of MediaTypeHeaderValue objects.
See Also
MediaTypeFormatter Class
System.Net.Http.Formatting Namespace
Return to top