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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.