ObjectContent.WasMediaTypeSetExplicitly Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets and sets value indicating whether the media type was set explicitly.

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

Syntax

'Declaration
Protected Friend Property WasMediaTypeSetExplicitly As Boolean
protected internal bool WasMediaTypeSetExplicitly { get; set; }
protected public:
property bool WasMediaTypeSetExplicitly {
    bool get ();
    void set (bool value);
}
member WasMediaTypeSetExplicitly : bool with get, set
function get WasMediaTypeSetExplicitly () : boolean
function set WasMediaTypeSetExplicitly (value : boolean)

Property Value

Type: System.Boolean
truefalse

.NET Framework Security

See Also

Reference

ObjectContent Class

System.Net.Http Namespace