Share via


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

適用於