MediaTypeHeaderValue.MatchesAllSubTypes Property

Definition

Gets whether this MediaTypeHeaderValue matches all subtypes.

public:
 property bool MatchesAllSubTypes { bool get(); };
public bool MatchesAllSubTypes { get; }
member this.MatchesAllSubTypes : bool
Public ReadOnly Property MatchesAllSubTypes As Boolean

Property Value

Examples

For the media type "application/*", this property is true.

For the media type "application/json", this property is false.

Applies to