MediaType.SubTypeWithoutSuffix 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 subtype of the MediaType, excluding any structured syntax suffix.
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
Property Value
Examples
For the media type "application/vnd.example+json"
, this property gives the value
"vnd.example"
.