MediaTypeHeaderValue.SubType 属性

定义

获取 的 MediaTypeHeaderValue子类型。

public:
 property System::String ^ SubType { System::String ^ get(); };
public:
 property Microsoft::Extensions::Primitives::StringSegment SubType { Microsoft::Extensions::Primitives::StringSegment get(); };
public string SubType { get; }
public Microsoft.Extensions.Primitives.StringSegment SubType { get; }
member this.SubType : string
member this.SubType : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property SubType As String
Public ReadOnly Property SubType As StringSegment

属性值

示例

对于媒体类型 "application/vnd.example+json", 属性提供值 "vnd.example+json"

注解

有关子类型的更多详细信息,请参阅 https://tools.ietf.org/html/rfc6838#section-4.2

适用于