MediaTypeHeaderValue.Suffix Property

Definition

Gets the structured syntax suffix of the MediaTypeHeaderValue if it has one. See The RFC documentation on structured syntaxes.

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

Property Value

Examples

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

Applies to