Freigeben über


MediaTypeFormatter.SupportedEncodings Property

Gets the mutable collection of character encodings supported bythis MediaTypeFormatter.

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

Syntax

'Declaration
Public Property SupportedEncodings As Collection(Of Encoding)
    Get 
    Private Set
'Usage
Dim instance As MediaTypeFormatter 
Dim value As Collection(Of Encoding)

value = instance.SupportedEncodings
public Collection<Encoding> SupportedEncodings { get; private set; }
public:
property Collection<Encoding^>^ SupportedEncodings {
    Collection<Encoding^>^ get ();
    private: void set (Collection<Encoding^>^ value);
}
member SupportedEncodings : Collection<Encoding> with get, private set
function get SupportedEncodings () : Collection<Encoding>
private function set SupportedEncodings (value : Collection<Encoding>)

Property Value

Type: System.Collections.ObjectModel.Collection<Encoding>
The collection of Encoding objects.

See Also

Reference

MediaTypeFormatter Class

System.Net.Http.Formatting Namespace