Click or drag to resize

MimeTypesHelperGetMimeType Method (IRdfWriter)

Get the preferred MIME type that is registered for a specific writer.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static string GetMimeType(
	IRdfWriter writer
)

Parameters

writer
Type: VDS.RDFIRdfWriter
RDF Writer.

Return Value

Type: String
The preferred MIME type associated with the parser.
Exceptions
ExceptionCondition
UnregisteredRdfWriterTypeExceptionRaised if the specific writer is of a type that is not associated with any registered MIME type.
See Also