ResolvedResource.MediaType PropertyResolvedResource.MediaType PropertyResolvedResource::MediaType Property

Gets or sets the media-type of the resolved resource.

Syntax

Public ReadOnly Property MediaType As String
        Get
public string MediaType { get; }
public:
property String^ MediaType {
    String^ get();
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The media-type of the resolved resource, or null a null reference (Nothing in Visual Basic) nullptr if it is unknown.

Remarks

This property contains the media type with all optional parameters stripped.

The media type is used to resolve URI fragments in a document. Fragments are resolved for any media types specified as XML Media Types in RFC3023.