MediaTypeHeaderValue.Facets Property

Definition

Get a IList<T> of facets of the MediaTypeHeaderValue. Facets are a period separated list of StringSegments in the SubTypeWithoutSuffix. See The RFC documentation on facets.

public:
 property System::Collections::Generic::IEnumerable<Microsoft::Extensions::Primitives::StringSegment> ^ Facets { System::Collections::Generic::IEnumerable<Microsoft::Extensions::Primitives::StringSegment> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Primitives.StringSegment> Facets { get; }
member this.Facets : seq<Microsoft.Extensions.Primitives.StringSegment>
Public ReadOnly Property Facets As IEnumerable(Of StringSegment)

Property Value

Examples

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

Applies to