MediaTypeHeaderValue.Facets 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.
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"}