次の方法で共有


MediaTypeHeaderValue.SubTypeWithoutSuffix プロパティ

定義

構造化構文サフィックスを除く の MediaTypeHeaderValueサブタイプを取得します。 Emptyサフィックスのないサブタイプがない場合は を返します。

public:
 property Microsoft::Extensions::Primitives::StringSegment SubTypeWithoutSuffix { Microsoft::Extensions::Primitives::StringSegment get(); };
public Microsoft.Extensions.Primitives.StringSegment SubTypeWithoutSuffix { get; }
member this.SubTypeWithoutSuffix : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property SubTypeWithoutSuffix As StringSegment

プロパティ値

メディアの種類 "application/vnd.example+json"の場合、 プロパティは 値 "vnd.example"を指定します。

適用対象