Share via


MediaType.SubTypeSuffix Property

Definition

Gets the structured syntax suffix of the MediaType if it has one.

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

Property Value

Examples

For the media type "application/vnd.example+json", this property gives the value "json".

Applies to