MediaType.SubType 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.
public:
property Microsoft::Extensions::Primitives::StringSegment SubType { Microsoft::Extensions::Primitives::StringSegment get(); };
public Microsoft.Extensions.Primitives.StringSegment SubType { get; }
member this.SubType : Microsoft.Extensions.Primitives.StringSegment
Public ReadOnly Property SubType As StringSegment
Property Value
Examples
For the media type "application/vnd.example+json"
, this property gives the value
"vnd.example+json"
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for