MediaTypeHeaderValue.Suffix Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"
.