MediaTypeHeaderValue.MatchesAllSubTypesWithoutSuffix 属性

定义

获取这 MediaTypeHeaderValue 是否与所有子类型匹配,并忽略任何结构化语法后缀。

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

属性值

示例

对于媒体类型 "application/*+json",此属性为 true

对于媒体类型 "application/vnd.example+json",此属性为 false

适用于