MediaTypeHeaderValue.MatchesAllSubTypesWithoutSuffix 属性

定义

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

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

属性值

Boolean

示例

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

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

适用于